postgresql/src/fe_utils
Alvaro Herrera 8d645a116e
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 Update copyright for 2021 2021-01-02 13:06:25 -05:00
cancel.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
conditional.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
connect_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
Makefile Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
mbprint.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
option_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
parallel_slot.c Refactor and generalize the ParallelSlot machinery. 2021-03-11 13:17:46 -05:00
print.c psql: call clearerr() just before printing 2021-03-29 18:34:39 -03:00
psqlscan.l Update copyright for 2021 2021-01-02 13:06:25 -05:00
query_utils.c Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
recovery_gen.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
simple_list.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
string_utils.c Factor pattern-construction logic out of processSQLNamePattern. 2021-02-03 13:19:41 -05:00