postgresql/src/bin/psql
Tom Lane 3620569fec #ifdef out some dead code in psql/mainloop.c.
This pg_send_history() call is unreachable, since the block it's in
is currently only entered in !cur_cmd_interactive mode.  But rather
than just delete it, make it #ifdef NOT_USED, in hopes that we'll
remember to enable it if we ever change that decision.

Per report from David Binderman.  Since this is basically cosmetic,
I see no great need to back-patch.

Discussion: https://postgr.es/m/HE1PR0802MB233122B61F00A15E035C83BE9C710@HE1PR0802MB2331.eurprd08.prod.outlook.com
2017-10-06 11:35:55 -04:00
..
po Translation updates 2017-08-07 13:55:34 -04:00
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
command.c Merge duplicative code for \sf/\sv, \ef/\ev in psql/command.c. 2017-09-06 17:32:40 -04:00
command.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
common.c Add psql variables to track success/failure of SQL queries. 2017-09-12 19:27:48 -04:00
common.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
conditional.c Support \if ... \elif ... \else ... \endif in psql scripting. 2017-03-30 12:59:24 -04:00
conditional.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
copy.c Manually un-break a few URLs that pgindent used to insist on splitting. 2017-06-21 16:02:08 -04:00
copy.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
create_help.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
crosstabview.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
crosstabview.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
describe.c psql: Don't try to print a partition constraint we didn't fetch. 2017-09-29 15:59:11 -04:00
describe.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
help.c Add psql variables to track success/failure of SQL queries. 2017-09-12 19:27:48 -04:00
help.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
input.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
input.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
large_obj.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
large_obj.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
mainloop.c #ifdef out some dead code in psql/mainloop.c. 2017-10-06 11:35:55 -04:00
mainloop.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
Makefile Fix broken link-command-line ordering for libpgfeutils. 2017-07-14 12:26:53 -04:00
nls.mk Translation updates 2017-08-07 13:55:34 -04:00
prompt.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
prompt.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscanslash.h Support \if ... \elif ... \else ... \endif in psql scripting. 2017-03-30 12:59:24 -04:00
psqlscanslash.l Provide a test for variable existence in psql 2017-09-21 19:02:23 -04:00
settings.h Add \gdesc psql command. 2017-09-05 18:17:47 -04:00
startup.c Add psql variables to track success/failure of SQL queries. 2017-09-12 19:27:48 -04:00
stringutils.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
stringutils.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
tab-complete.c Allow a partitioned table to have a default partition. 2017-09-08 17:28:04 -04:00
tab-complete.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
variables.c Message style fixes 2017-09-11 11:21:27 -04:00
variables.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00