]> granicus.if.org Git - postgresql/commit - src/bin/psql/common.c
Replace pg_asprintf() with psprintf().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Oct 2013 23:40:26 +0000 (19:40 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Oct 2013 23:40:26 +0000 (19:40 -0400)
commit2c66f9924c1162bfba27c77004ccf42fb6ea188d
tree920c20776ef6d13d7a5d3a836202d897abcaf428
parent09a89cb5fc29b47c26d151e82293fd3bef592b7b
Replace pg_asprintf() with psprintf().

This eliminates an awkward coding pattern that's also unnecessarily
inconsistent with backend coding.  psprintf() is now the thing to
use everywhere.
19 files changed:
contrib/oid2name/oid2name.c
contrib/pg_upgrade/check.c
contrib/pg_upgrade/tablespace.c
contrib/pg_upgrade/util.c
src/backend/utils/adt/format_type.c
src/bin/initdb/initdb.c
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_dump/compress_io.c
src/bin/pg_dump/pg_dump.c
src/bin/psql/command.c
src/bin/psql/common.c
src/bin/psql/copy.c
src/bin/psql/input.c
src/bin/psql/startup.c
src/bin/psql/tab-complete.c
src/common/psprintf.c
src/include/common/fe_memutils.h
src/test/isolation/isolationtester.c
src/test/regress/pg_regress.c