[COMMITTERS] pgsql: Improve consistency of error reporting in GUC assign_hook

2007-12-27 Thread Tom Lane
Log Message: --- Improve consistency of error reporting in GUC assign_hook routines. Some were reporting ERROR for interactive assignments and LOG for other cases, some were saying nothing for non-interactive cases, and a few did yet other things. Make them use a new function GUC_complain

[COMMITTERS] pgsql: Disallow digits and lower-case ASCII letters as the delimiter in

2007-12-27 Thread Tom Lane
Log Message: --- Disallow digits and lower-case ASCII letters as the delimiter in non-CSV COPY. We need a restriction here because when the delimiter occurs as a data character, it is emitted with a backslash, and that will only work as desired if CopyReadAttributesText() will interpret th

[COMMITTERS] pgsql: Fix ill-advised usage of x?y:z expressions in errmsg() and

2007-12-27 Thread Tom Lane
Log Message: --- Fix ill-advised usage of x?y:z expressions in errmsg() and errhint() calls. This prevented gettext from recognizing the strings that need to be translated. Modified Files: -- pgsql/src/backend/commands: copy.c (r1.291 -> r1.292) (http://dev

[COMMITTERS] pgsql: Swap the order of testing for control characters and for column

2007-12-27 Thread Tom Lane
Log Message: --- Swap the order of testing for control characters and for column delimiter in CopyAttributeOutText(), so that control characters are converted to the C-style escape sequences even if they happen to be equal to the column delimiter (as is true by default for tab, for example)

[COMMITTERS] pgsql: Wording improvements

2007-12-27 Thread Peter Eisentraut
Log Message: --- Wording improvements Modified Files: -- pgsql/src/backend/tsearch: ts_utils.c (r1.7 -> r1.8) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_utils.c?r1=1.7&r2=1.8) pgsql/src/backend/utils/adt: tsquery.c