postgresql/src
Stephen Frost 152d24f5dd Fix minor leak in pg_dump
Move allocation to after we check the remote server version, to avoid
a possible, very minor, memory leak.  This makes us more consistent
throughout as most places in pg_dump are done in the same way (due, in
part, to previous fixes like this).

Spotted by the Coverity scanner.
2014-01-26 17:58:48 -05:00
..
backend Check dup2() results in syslogger 2014-01-26 16:26:18 -05:00
bin Fix minor leak in pg_dump 2014-01-26 17:58:48 -05:00
common Make various variables const (read-only). 2014-01-18 16:04:32 -05:00
include Enable building with Visual Studion 2013. 2014-01-26 09:49:10 -05:00
interfaces libpq: Support TLS versions beyond TLSv1. 2014-01-24 19:29:06 -05:00
makefiles Remove leftovers of IRIX port 2013-11-12 06:39:36 -05:00
pl Make DROP IF EXISTS more consistently not fail 2014-01-23 14:40:29 -03:00
port Allow use of "z" flag in our printf calls, and use it where appropriate. 2014-01-23 17:18:33 -05:00
template Remove leftovers of IRIX port 2013-11-12 06:39:36 -05:00
test Make DROP IF EXISTS more consistently not fail 2014-01-23 14:40:29 -03:00
timezone Update copyright for 2014 2014-01-07 16:05:30 -05:00
tools Provide for client-only installs with MSVC. 2014-01-26 17:03:13 -05:00
tutorial Update copyright for 2014 2014-01-07 16:05:30 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in build: pass EXTRA_REGRESS_OPTS to secondary regression tests 2013-12-04 10:14:45 -05:00
Makefile.shlib Remove IRIX port. 2013-10-18 08:14:21 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00