diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-08-27 14:21:09 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-08-27 14:29:14 -0400 |
commit | 088c065ce8e405fafbfa966937184ece9defcf20 (patch) | |
tree | 12d903a88d91f84c1ddb85d5d88a549f42405fa2 /src/backend/access/gist/gistxlog.c | |
parent | 34c02044ed7e7defde5a853b26dcd806c872d974 (diff) | |
download | postgresql-088c065ce8e405fafbfa966937184ece9defcf20.tar.gz |
pg_upgrade: Fix exec_prog API to be less flaky
The previous signature made it very easy to pass something other than
the printf-format specifier in the corresponding position, without any
warning from the compiler.
While at it, move some of the escaping, redirecting and quoting
responsibilities from the callers into exec_prog() itself. This makes
the callsites cleaner.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions