On Fri, Mar 1, 2019 at 5:06 PM Joe Conway <m...@joeconway.com> wrote: > Seems like it would be better to modify the arguments to > CloseTransientFile() to include the filename being closed, errorlevel, > and fail_on_error or something similar. Then all the repeated ereport > stanzas could be eliminated.
Hmm. I'm not sure that really saves much in terms of notation, and it's less flexible. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company