postgresql/src/backend/commands
Tom Lane 389af95155 Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH.
This patch implements data-modifying WITH queries according to the
semantics that the updates all happen with the same command counter value,
and in an unspecified order.  Therefore one WITH clause can't see the
effects of another, nor can the outer query see the effects other than
through the RETURNING values.  And attempts to do conflicting updates will
have unpredictable results.  We'll need to document all that.

This commit just fixes the code; documentation updates are waiting on
author.

Marko Tiikkaja and Hitoshi Harada
2011-02-25 18:58:02 -05:00
..
Makefile DDL support for collations 2011-02-12 15:55:18 +02:00
aggregatecmds.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
alter.c DDL support for collations 2011-02-12 15:55:18 +02:00
analyze.c Per-column collation support 2011-02-08 23:04:18 +02:00
async.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
cluster.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
collationcmds.c DDL support for collations 2011-02-12 15:55:18 +02:00
comment.c DDL support for collations 2011-02-12 15:55:18 +02:00
constraint.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
conversioncmds.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
copy.c Add a relkind field to RangeTblEntry to avoid some syscache lookups. 2011-02-22 19:24:40 -05:00
dbcommands.c DDL support for collations 2011-02-12 15:55:18 +02:00
define.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
discard.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
explain.c Implement an API to let foreign-data wrappers actually be functional. 2011-02-20 00:18:14 -05:00
extension.c Make a no-op ALTER EXTENSION UPDATE give just a NOTICE, not ERROR. 2011-02-16 12:40:31 -05:00
foreigncmds.c Create the catalog infrastructure for foreign-data-wrapper handlers. 2011-02-19 00:07:15 -05:00
functioncmds.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
indexcmds.c Per-column collation support 2011-02-08 23:04:18 +02:00
lockcmds.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
opclasscmds.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
operatorcmds.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
portalcmds.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
prepare.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
proclang.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
schemacmds.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
seclabel.c Per-column collation support 2011-02-08 23:04:18 +02:00
sequence.c Fix a couple of unlogged tables goofs. 2011-02-22 14:46:19 -05:00
tablecmds.c Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH. 2011-02-25 18:58:02 -05:00
tablespace.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
trigger.c Fix dangling-pointer problem in before-row update trigger processing. 2011-02-21 21:19:50 -05:00
tsearchcmds.c Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
typecmds.c DDL support for collations 2011-02-12 15:55:18 +02:00
user.c Fix pg_upgrade of large object permissions by preserving pg_auth.oid, 2011-01-07 21:59:29 -05:00
vacuum.c Avoid having autovacuum workers wait for relation locks. 2011-02-07 22:04:29 -05:00
vacuumlazy.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
variable.c Implement genuine serializable isolation level. 2011-02-08 00:09:08 +02:00
view.c Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH. 2011-02-25 18:58:02 -05:00