Skip to content
Snippets Groups Projects
  1. Jan 29, 2013
    • Tom Lane's avatar
      Provide database object names as separate fields in error messages. · 991f3e5a
      Tom Lane authored
      This patch addresses the problem that applications currently have to
      extract object names from possibly-localized textual error messages,
      if they want to know for example which index caused a UNIQUE_VIOLATION
      failure.  It adds new error message fields to the wire protocol, which
      can carry the name of a table, table column, data type, or constraint
      associated with the error.  (Since the protocol spec has always instructed
      clients to ignore unrecognized field types, this should not create any
      compatibility problem.)
      
      Support for providing these new fields has been added to just a limited set
      of error reports (mainly, those in the "integrity constraint violation"
      SQLSTATE class), but we will doubtless add them to more calls in future.
      
      Pavel Stehule, reviewed and extensively revised by Peter Geoghegan, with
      additional hacking by Tom Lane.
      991f3e5a
  2. Oct 08, 2012
    • Tom Lane's avatar
      Autoconfiscate selection of 64-bit int type for 64-bit large object API. · 95d035e6
      Tom Lane authored
      Get rid of the fundamentally indefensible assumption that "long long int"
      exists and is exactly 64 bits wide on every platform Postgres runs on.
      Instead let the configure script select the type to use for "pg_int64".
      
      This is a bit of a pain in the rear since we do not want to pollute client
      namespace with all the random symbols that pg_config.h defines; instead
      we have to create a separate generated header file, "pg_config_ext.h".
      But now that the infrastructure is there, we might have the ability to
      add some other stuff that's long been wanting in this area.
      95d035e6
  3. Oct 07, 2012
    • Tatsuo Ishii's avatar
      Add API for 64-bit large object access. Now users can access up to · 461ef73f
      Tatsuo Ishii authored
      4TB large objects (standard 8KB BLCKSZ case).  For this purpose new
      libpq API lo_lseek64, lo_tell64 and lo_truncate64 are added.  Also
      corresponding new backend functions lo_lseek64, lo_tell64 and
      lo_truncate64 are added. inv_api.c is changed to handle 64-bit
      offsets.
      
      Patch contributed by Nozomi Anzai (backend side) and Yugo Nagata
      (frontend side, docs, regression tests and example program). Reviewed
      by Kohei Kaigai. Committed by Tatsuo Ishii with minor editings.
      461ef73f
  4. Sep 20, 2010
  5. Feb 06, 2007
  6. Aug 29, 2004
  7. Mar 21, 2004
  8. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
  9. Aug 27, 2003
  10. Mar 18, 2003
  11. Aug 13, 2002
  12. Apr 30, 2002
  13. Oct 28, 2001
  14. Oct 25, 2001
  15. Mar 22, 2001
  16. Feb 10, 2001
    • Tom Lane's avatar
      Restructure the key include files per recent pghackers discussion: there · d08741ea
      Tom Lane authored
      are now separate files "postgres.h" and "postgres_fe.h", which are meant
      to be the primary include files for backend .c files and frontend .c files
      respectively.  By default, only include files meant for frontend use are
      installed into the installation include directory.  There is a new make
      target 'make install-all-headers' that adds the whole content of the
      src/include tree to the installed fileset, for use by people who want to
      develop server-side code without keeping the complete source tree on hand.
      Cleaned up a whole lot of crufty and inconsistent header inclusions.
      d08741ea
  17. Dec 22, 2000
  18. Jun 04, 1999
  19. Feb 14, 1999
  20. Sep 07, 1997
  21. Dec 10, 1996
Loading