Go to file
Alvaro Herrera 0009462e98 Fix crash in error report of invalid tuple lock
My tweak of these error messages in commit c359a1b082 contained the
thinko that a query would always have rowMarks set for a query
containing a locking clause.  Not so: when declaring a cursor, for
instance, rowMarks isn't set at the point we're checking, so we'd be
dereferencing a NULL pointer.

The fix is to pass the lock strength to the function raising the error,
instead of trying to reverse-engineer it.  The result not only is more
robust, but it also seems cleaner overall.

Per report from Robert Haas.
2013-08-02 13:37:40 -04:00
config Compiler optimizations for page checksum code. 2013-04-30 06:59:26 +01:00
contrib pg_upgrade: clarify C comment about Windows thread struct pointers 2013-07-30 09:23:31 -04:00
doc Fix inaccurate description of tablespace. 2013-07-31 22:36:39 +09:00
src Fix crash in error report of invalid tuple lock 2013-08-02 13:37:40 -04:00
.gitignore
aclocal.m4
configure Fix configure probe for sys/ucred.h. 2013-07-25 11:39:59 -04:00
configure.in Fix configure probe for sys/ucred.h. 2013-07-25 11:39:59 -04:00
COPYRIGHT
GNUmakefile.in
Makefile
README
README.git

PostgreSQL Database Management System
=====================================

This directory contains the source code distribution of the PostgreSQL
database management system.

PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including
transactions, foreign keys, subqueries, triggers, user-defined types
and functions.  This distribution also contains C language bindings.

PostgreSQL has many language interfaces, many of which are listed here:

	http://www.postgresql.org/download

See the file INSTALL for instructions on how to build and install
PostgreSQL.  That file also lists supported operating systems and
hardware platforms and contains information regarding any other
software packages that are required to build or run the PostgreSQL
system.  Changes between all PostgreSQL releases are recorded in the
file HISTORY.  Copyright and license information can be found in the
file COPYRIGHT.  A comprehensive documentation set is included in this
distribution; it can be read as described in the installation
instructions.

The latest version of this software may be obtained at
http://www.postgresql.org/download/.  For more information look at our
web site located at http://www.postgresql.org/.