aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/regress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/regress.c')
-rw-r--r--src/test/regress/regress.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c
index a0058ed6a82..e14322c798a 100644
--- a/src/test/regress/regress.c
+++ b/src/test/regress/regress.c
@@ -442,19 +442,19 @@ set_ttdummy(PG_FUNCTION_ARGS)
/*
- * Type city_budget has no real-world use, but the regression tests use it.
- * It's a four-element vector of int4's.
+ * Type int44 has no real-world use, but the regression tests use it
+ * (under the alias "city_budget"). It's a four-element vector of int4's.
*/
/*
- * city_budget_in - converts "num, num, ..." to internal form
+ * int44in - converts "num, num, ..." to internal form
*
* Note: Fills any missing positions with zeroes.
*/
-PG_FUNCTION_INFO_V1(city_budget_in);
+PG_FUNCTION_INFO_V1(int44in);
Datum
-city_budget_in(PG_FUNCTION_ARGS)
+int44in(PG_FUNCTION_ARGS)
{
char *input_string = PG_GETARG_CSTRING(0);
int32 *result = (int32 *) palloc(4 * sizeof(int32));
@@ -473,12 +473,12 @@ city_budget_in(PG_FUNCTION_ARGS)
}
/*
- * city_budget_out - converts internal form to "num, num, ..."
+ * int44out - converts internal form to "num, num, ..."
*/
-PG_FUNCTION_INFO_V1(city_budget_out);
+PG_FUNCTION_INFO_V1(int44out);
Datum
-city_budget_out(PG_FUNCTION_ARGS)
+int44out(PG_FUNCTION_ARGS)
{
int32 *an_array = (int32 *) PG_GETARG_POINTER(0);
char *result = (char *) palloc(16 * 4);