Replace appendPQExpBuffer(..., <constant>) with appendPQExpBufferStr
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Replace appendPQExpBuffer(..., <constant>) with appendPQExpBufferStr Arguably makes the code a bit more readable, and might give a small performance gain. David Rowley
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/dumputils.c | modified | +9 −9 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +6 −6 |
| src/bin/pg_dump/pg_dumpall.c | modified | +58 −58 |
| src/bin/pg_dump/pg_dump.c | modified | +357 −368 |
| src/bin/psql/command.c | modified | +1 −1 |
| src/bin/psql/copy.c | modified | +2 −2 |
| src/bin/psql/describe.c | modified | +260 −260 |
| src/bin/psql/tab-complete.c | modified | +2 −2 |
| src/bin/scripts/clusterdb.c | modified | +3 −3 |
| src/bin/scripts/createdb.c | modified | +2 −2 |
| src/bin/scripts/createuser.c | modified | +16 −16 |
| src/bin/scripts/reindexdb.c | modified | +2 −2 |
| src/bin/scripts/vacuumdb.c | modified | +9 −9 |
| src/interfaces/libpq/fe-connect.c | modified | +11 −11 |
| src/test/isolation/isolationtester.c | modified | +1 −1 |