postgresql/src/bin/psql
Tom Lane fc7a9dfddb Get rid of scribbling on a const variable in psql's print.c.
Commit a2dabf0e1d had the bright idea that it could modify a "const"
global variable if it merely casted away const from a pointer.  This does
not work on platforms where the compiler puts "const" variables into
read-only storage.  Depressingly, we evidently have no such platforms in
our buildfarm ... an oversight I have now remedied.  (The one platform
that is known to catch this is recent OS X with -fno-common.)

Per report from Chris Ruprecht.  Back-patch to 9.5 where the bogus
code was introduced.
2016-03-12 18:16:24 -05:00
..
po Translation updates 2015-06-28 23:56:55 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00
command.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
command.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
common.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
common.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
copy.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
copy.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
create_help.pl psql: Fix some strange code in SQL help creation 2016-03-08 19:41:51 -05:00
describe.c Fix incorrect pattern-match processing in psql's \det command. 2016-01-29 10:28:02 +01:00
describe.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
help.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
help.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
input.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
input.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
large_obj.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
large_obj.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
mainloop.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
mainloop.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
mbprint.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
mbprint.h Fix indentation of \d footers for non-ASCII cases. 2012-03-07 19:25:59 -05:00
nls.mk Add missing source files to nls.mk 2014-07-15 10:10:42 -04:00
print.c Get rid of scribbling on a const variable in psql's print.c. 2016-03-12 18:16:24 -05:00
print.h Get rid of scribbling on a const variable in psql's print.c. 2016-03-12 18:16:24 -05:00
prompt.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
prompt.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscan.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
psqlscan.l Update copyright for 2016 2016-01-02 13:33:40 -05:00
settings.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
startup.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
stringutils.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
stringutils.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
tab-complete.c Fix query-based tab completion for multibyte characters. 2016-03-04 11:53:20 -05:00
tab-complete.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
variables.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
variables.h Update copyright for 2016 2016-01-02 13:33:40 -05:00