- Jan 29, 2013
-
-
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.
-
- Oct 08, 2012
-
-
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.
-
- Oct 07, 2012
-
-
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.
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Feb 06, 2007
-
-
Peter Eisentraut authored
used to be part of libpq's exported interface many releases ago, but now it's no longer necessary to make it accessible to clients.
-
- Aug 29, 2004
-
-
Bruce Momjian authored
-
- Mar 21, 2004
-
-
Tom Lane authored
errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
-
- Nov 29, 2003
-
-
PostgreSQL Daemon authored
make sure the $Id tags are converted to $PostgreSQL as well ...
-
- Aug 27, 2003
-
-
Peter Eisentraut authored
-
- Mar 18, 2003
-
-
Bruce Momjian authored
the expression using an "old-style cast." Therefore, would it be okay to patch postgres_ext.h as follows: Jeroen T. Vermeulen
-
- Aug 13, 2002
-
-
Bruce Momjian authored
-
- Apr 30, 2002
-
-
Tom Lane authored
-
- Oct 28, 2001
-
-
Bruce Momjian authored
spacing. Also adds space for one-line comments.
-
- Oct 25, 2001
-
-
Bruce Momjian authored
tests pass.
-
- Mar 22, 2001
-
-
Bruce Momjian authored
-
- Feb 10, 2001
-
-
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.
-
- Dec 22, 2000
-
-
Tom Lane authored
64-bit machines. Also, make oidvectorin use the same code as oidin.
-
- Jun 04, 1999
-
-
Tom Lane authored
Get rid of it to make customization of NAMEDATALEN easier.
-
- Feb 14, 1999
-
-
Bruce Momjian authored
-
- Sep 07, 1997
-
-
Bruce Momjian authored
-
- Dec 10, 1996
-
-
Bryan Henderson authored
Plus: sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
-