postgresql/src/bin
Tom Lane df290e5f38 Avoid useless malloc/free traffic around getFormattedTypeName().
Coverity complained that one caller of getFormattedTypeName() failed
to free the returned string.  Which is true, but rather than fixing
that one, let's get rid of this tedious and error-prone requirement.
Now that getFormattedTypeName() caches its result, strdup'ing that
result and expecting the caller to free it accomplishes little except
to waste cycles.  We do create a leak in the case where getTypes didn't
make a TypeInfo for the type, but that basically shouldn't ever happen.

Back-patch, as commit 6c450a861 was.  This isn't a particularly
interesting bug fix, but the API change seems like a hazard for
future back-patching activity if we don't back-patch it.
2021-09-08 15:09:42 -04:00
..
initdb Work around portability issue with newer versions of mktime(). 2021-06-13 14:32:42 -04:00
pg_archivecleanup Translation updates 2020-11-09 12:36:44 +01:00
pg_basebackup Fix a couple of memory leaks in src/bin/pg_basebackup/ 2021-07-26 11:14:14 +09:00
pg_checksums pg_checksums: Fix progress reporting. 2021-04-03 00:08:05 +09:00
pg_config Translation updates 2020-11-09 12:36:44 +01:00
pg_controldata Translation updates 2020-11-09 12:36:44 +01:00
pg_ctl Remove arbitrary MAXPGPATH limit on command lengths in pg_ctl. 2021-09-03 21:04:44 -04:00
pg_dump Avoid useless malloc/free traffic around getFormattedTypeName(). 2021-09-08 15:09:42 -04:00
pg_resetwal Translation updates 2021-08-09 12:36:42 +02:00
pg_rewind Translation updates 2021-02-08 17:50:22 +01:00
pg_test_fsync Translation updates 2020-08-10 15:21:18 +02:00
pg_test_timing Translation updates 2020-08-10 15:21:18 +02:00
pg_upgrade Translation updates 2021-08-09 12:36:42 +02:00
pg_waldump pg_waldump: Fix bug in per-record statistics. 2021-03-23 09:54:59 +09:00
pgbench Don't depend on -fwrapv semantics in pgbench's random() function. 2021-06-28 12:40:37 -04:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql psql \dP: reference regclass with "pg_catalog." prefix 2021-08-28 11:45:47 -04:00
scripts Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00