1. 11 Jun, 2010 1 commit
  2. 26 May, 2010 1 commit
  3. 13 May, 2010 1 commit
  4. 03 Apr, 2010 1 commit
    • Peter Eisentraut's avatar
      Remove unnecessary xref endterm attributes and title ids · 6dcce398
      Peter Eisentraut authored
      The endterm attribute is mainly useful when the toolchain does not support
      automatic link target text generation for a particular situation.  In  the
      past, this was required by the man page tools for all reference page links,
      but that is no longer the case, and it now actually gets in the way of
      proper automatic link text generation.  The only remaining use cases are
      currently xrefs to refsects.
      6dcce398
  5. 27 Feb, 2010 1 commit
  6. 24 Feb, 2010 2 commits
  7. 17 Feb, 2010 1 commit
  8. 16 Feb, 2010 2 commits
  9. 05 Feb, 2010 1 commit
    • Joe Conway's avatar
      Modify recently added PQconnectdbParams() with new argument, expand_dbname. · f419a82c
      Joe Conway authored
      If expand_dbname is non-zero and dbname contains an = sign, it is taken as
      a conninfo string in exactly the same way as if it had been passed to
      PQconnectdb. This is equivalent to the way PQsetdbLogin() works, allowing
      PQconnectdbParams() to be a complete alternative.
      
      Also improve the way the new function is called from psql and replace a
      previously missed call to PQsetdbLogin() in psql. Additionally use
      PQconnectdbParams() for pg_dump and friends, and the bin/scripts
      command line utilities such as vacuumdb, createdb, etc.
      
      Finally, update the documentation for the new parameter, as well as the
      nuances of precedence in cases where key words are repeated or duplicated
      in the conninfo string.
      f419a82c
  10. 28 Jan, 2010 1 commit
    • Joe Conway's avatar
      Introduce two new libpq connection functions, PQconnectdbParams and · e3f36838
      Joe Conway authored
      PQconnectStartParams. These are analogous to PQconnectdb and PQconnectStart
      respectively. They differ from the legacy functions in that they accept
      two NULL-terminated arrays, keywords and values, rather than conninfo
      strings. This avoids the need to build the conninfo string in cases
      where it might be inconvenient to do so. Includes documentation.
      
      Also modify psql to utilize PQconnectdbParams rather than PQsetdbLogin.
      This allows the new config parameter application_name to be set, which
      in turn is displayed in the pg_stat_activity view and included in CSV
      log entries. This will also ensure both new functions get regularly
      exercised.
      
      Patch by Guillaume Lelarge with review and minor adjustments by
      Joe Conway.
      e3f36838
  11. 21 Jan, 2010 1 commit
    • Robert Haas's avatar
      Add new escaping functions PQescapeLiteral and PQescapeIdentifier. · d6667967
      Robert Haas authored
      PQescapeLiteral is similar to PQescapeStringConn, but it relieves the
      caller of the need to know how large the output buffer should be, and
      it provides the appropriate quoting (in addition to escaping special
      characers within the string).  PQescapeIdentifier provides similar
      functionality for escaping identifiers.
      
      Per recent discussion with Tom Lane.
      d6667967
  12. 20 Jan, 2010 2 commits
    • Peter Eisentraut's avatar
      Add user-specific .pg_service.conf file · 41a4e459
      Peter Eisentraut authored
      This extends the existing pg_service.conf facility to first look for a
      service definition file in the user's home directory.
      41a4e459
    • Robert Haas's avatar
      Reformat documentation of libpq escaping functions. · 5b13d1ff
      Robert Haas authored
      Modify the "Escaping Strings for Inclusion in SQL Commands" section
      to use a <variablelist> as the preceding and following sections do,
      and merge the "Escaping Binary Strings for Inclusion in SQL Commands"
      section into it.
      
      This changes only the formatting of these sections, not the content.
      It is intended to lay the groundwork for a follow-on patch to add
      some new escaping functions, but it makes sense to commit this first,
      for clarity.
      5b13d1ff
  13. 02 Dec, 2009 2 commits
    • Bruce Momjian's avatar
      thread-safety · 8c1c2e38
      Bruce Momjian authored
      Apply full patch to enable thread-safety by default, e.g. doc changes.
      8c1c2e38
    • Tom Lane's avatar
      Mark application_name as GUC_REPORT so that the value will be reported back · 59ed94ad
      Tom Lane authored
      to the client by the server.  This might seem pretty pointless but apparently
      it will help pgbouncer, and perhaps other connection poolers.  Anyway it's
      practically free to do so for the normal use-case where appname is only set
      in the startup packet --- we're just adding a few more bytes to the initial
      ParameterStatus response packet.  Per comments from Marko Kreen.
      59ed94ad
  14. 28 Nov, 2009 1 commit
  15. 28 May, 2009 1 commit
  16. 27 Apr, 2009 1 commit
  17. 24 Apr, 2009 2 commits
  18. 15 Apr, 2009 1 commit
  19. 14 Apr, 2009 1 commit
  20. 11 Apr, 2009 2 commits
  21. 31 Mar, 2009 1 commit
  22. 28 Mar, 2009 1 commit
  23. 23 Mar, 2009 1 commit
  24. 11 Feb, 2009 1 commit
  25. 06 Feb, 2009 2 commits
  26. 10 Jan, 2009 1 commit
  27. 15 Dec, 2008 1 commit
  28. 07 Dec, 2008 1 commit
  29. 02 Dec, 2008 1 commit
  30. 25 Nov, 2008 1 commit
    • Tom Lane's avatar
      Remove PGINTERVALSTYLE from the set of special environment variables for · 1304f297
      Tom Lane authored
      libpq.  As noted by Peter, adding this variable created a risk of unexpected
      connection failures when talking to older server versions, and since it
      doesn't do anything you can't do with PGOPTIONS, it doesn't seem really
      necessary.  Removing it does occasion a few extra lines in pg_regress.c,
      but saving a getenv() call per libpq connection attempt is perhaps worth
      that anyway.
      1304f297
  31. 14 Nov, 2008 1 commit
  32. 13 Nov, 2008 1 commit
  33. 09 Nov, 2008 1 commit
    • Tom Lane's avatar
      Add a new GUC variable called "IntervalStyle" that decouples interval output · df7641e2
      Tom Lane authored
      from DateStyle, and create a new interval style that produces output matching
      the SQL standard (at least for interval values that fall within the standard's
      restrictions).  IntervalStyle is also used to resolve the conflict between the
      standard and traditional Postgres rules for interpreting negative interval
      input.
      
      Ron Mayer
      df7641e2