~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-proposed

« back to all changes in this revision

Viewing changes to src/bin/psql/common.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-07-24 16:13:59 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20140724161359-uk325qfv03euxuuh
Tags: 9.3.5-0ubuntu0.14.04.1
* New upstream bug fix release: (LP: #1348176)
  - pg_upgrade: Users who upgraded to version 9.3 using pg_upgrade may have
    an issue with transaction information which causes VACUUM to eventually
    fail. These users should run the script provided in the release notes to
    determine if their installation is affected, and then take the remedy
    steps outlined there.
  - Various data integrity and other bug fixes.
  - Secure Unix-domain sockets of temporary postmasters started during make
    check.
    Any local user able to access the socket file could connect as the
    server's bootstrap superuser, then proceed to execute arbitrary code as
    the operating-system user running the test, as we previously noted in
    CVE-2014-0067. This change defends against that risk by placing the
    server's socket in a temporary, mode 0700 subdirectory of /tmp.
  - See release notes for details:
    http://www.postgresql.org/about/news/1534/
* Remove pg_regress patches to support --host=/path, obsolete with above
  upstream changes and not applicable any more.
* Drop tcl8.6 patch, applied upstream.
* Add missing logrotate test dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
 * see if it can be restored.
271
271
 *
272
272
 * Returns true if either the connection was still there, or it could be
273
 
 * restored successfully; false otherwise.      If, however, there was no
 
273
 * restored successfully; false otherwise.  If, however, there was no
274
274
 * connection and the session is non-interactive, this will exit the program
275
275
 * with a code of EXIT_BADCONN.
276
276
 */
716
716
 
717
717
                        /*
718
718
                         * Call PQgetResult() once more.  In the typical case of a
719
 
                         * single-command string, it will return NULL.  Otherwise, we'll
 
719
                         * single-command string, it will return NULL.  Otherwise, we'll
720
720
                         * have other results to process that may include other COPYs.
721
721
                         */
722
722
                        PQclear(*results);