postgresql/src/backend/commands
Alvaro Herrera a2e35b53c3 Change many routines to return ObjectAddress rather than OID
The changed routines are mostly those that can be directly called by
ProcessUtilitySlow; the intention is to make the affected object
information more precise, in support for future event trigger changes.
Originally it was envisioned that the OID of the affected object would
be enough, and in most cases that is correct, but upon actually
implementing the event trigger changes it turned out that ObjectAddress
is more widely useful.

Additionally, some command execution routines grew an output argument
that's an object address which provides further info about the executed
command.  To wit:

* for ALTER DOMAIN / ADD CONSTRAINT, it corresponds to the address of
  the new constraint

* for ALTER OBJECT / SET SCHEMA, it corresponds to the address of the
  schema that originally contained the object.

* for ALTER EXTENSION {ADD, DROP} OBJECT, it corresponds to the address
  of the object added to or dropped from the extension.

There's no user-visible change in this commit, and no functional change
either.

Discussion: 20150218213255.GC6717@tamriel.snowman.net
Reviewed-By: Stephen Frost, Andres Freund
2015-03-03 14:10:50 -03:00
..
aggregatecmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
alter.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
analyze.c Use abbreviated keys for faster sorting of text datums. 2015-01-19 15:28:27 -05:00
async.c Use FLEXIBLE_ARRAY_MEMBER in a number of other places. 2015-02-21 16:12:14 -05:00
cluster.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
collationcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
comment.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
constraint.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
conversioncmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
copy.c Be more careful to not lose sync in the FE/BE protocol. 2015-02-02 17:09:53 +02:00
createas.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
dbcommands.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
define.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
discard.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
dropcmds.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
event_trigger.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
explain.c Fix EXPLAIN output for cases where parent table is excluded by constraints. 2015-02-17 18:04:11 -05:00
extension.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
foreigncmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
functioncmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
indexcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
lockcmds.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile
matview.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
opclasscmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
operatorcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
policy.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
portalcmds.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
prepare.c Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
proclang.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
schemacmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
seclabel.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
sequence.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
tablecmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
tablespace.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
trigger.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
tsearchcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
typecmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
user.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
vacuum.c Reject ANALYZE commands during VACUUM FULL or another ANALYZE. 2015-01-07 22:33:58 -05:00
vacuumlazy.c Fix logging of pages skipped due to pins during vacuum. 2015-01-08 12:57:09 +01:00
variable.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
view.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00