"Daniel Verite" <daniel@manitou-mail.org> writes:
> Tom Lane wrote:
>> Given the time pressure, I did not worry about installing regression
>> test coverage for this stuff, but I wonder if we shouldn't add some.
> Currently, test/regress/sql/psql.sql doesn't AFAICS write anything
> outside of stdout, but \g, \o, \copy need to write to external
> files to be tested properly.
Yeah, I don't think we can usefully test these in psql.sql, because
file-system side effects are bad in that context. But maybe a TAP
test could cope?
regards, tom lane