You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pg_csv.c
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -53,11 +53,13 @@ Datum csv_agg_transfn(PG_FUNCTION_ARGS) {
53
53
CsvAggState*state;
54
54
55
55
// first call when the accumulator is NULL
56
-
// pretty standard stuff, for example see the jsonb_agg transition function https://github.com/postgres/postgres/blob/3c4e26a62c31ebe296e3aedb13ac51a7a35103bd/src/backend/utils/adt/jsonb.c#L1521
56
+
// pretty standard stuff, for example see the jsonb_agg transition function
if (is_reserved(delim)) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("delimiter cannot be newline, carriage return or double quote")));
0 commit comments