postgresql/src/fe_utils
Alvaro Herrera f50dc2c725
psql: call clearerr() just before printing
We were never doing clearerr() on the output stream, which results in a
message being printed after each result once an EOF is seen:

could not print result table: Success

This message was added by commit b03436994b (in the pg13 era); before
that, the error indicator would never be examined.  So backpatch only
that far back, even though the actual bug (to wit: the fact that the
error indicator is never cleared) is older.
2021-03-29 18:34:39 -03:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
archive.c Message fixes and style improvements 2020-09-14 06:42:07 +02:00
cancel.c Remove incorrect %s in string 2020-11-09 10:38:43 +01:00
conditional.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Move frontend-side archive APIs from src/common/ to src/fe_utils/ 2020-06-11 15:48:56 +09:00
mbprint.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
print.c psql: call clearerr() just before printing 2021-03-29 18:34:39 -03:00
psqlscan.l Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05:00
recovery_gen.c Fix bug in pg_basebackup -F plain -R. 2020-02-12 09:08:22 +09:00
simple_list.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
string_utils.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00