postgresql/src/backend/commands
Tom Lane a475e46634 Fix ALTER SEQUENCE OWNED BY to not rewrite the sequence relation.
It's not necessary for it to do that, since OWNED BY requires only ordinary
catalog updates and doesn't affect future sequence values.  And pg_upgrade
needs to use OWNED BY without having it change the sequence's relfilenode.
Commit 3d79013b9 broke this by making all forms of ALTER SEQUENCE change
the relfilenode; that seems to be the explanation for the hard-to-reproduce
buildfarm failures we've been seeing since then.

Discussion: https://postgr.es/m/19785.1497215827@sss.pgh.pa.us
2017-06-12 16:57:31 -04:00
..
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
aggregatecmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
alter.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
amcmds.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
analyze.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
async.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
cluster.c In rebuild_relation(), don't access an already-closed relcache entry. 2017-03-04 16:09:33 -05:00
collationcmds.c Fix build of ICU support in Windows 2017-06-12 10:28:37 -04:00
comment.c Allow COMMENT ON COLUMN with partitioned tables 2017-04-18 10:42:10 +01:00
constraint.c Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
conversioncmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
copy.c Prevent BEFORE triggers from violating partitioning constraints. 2017-06-07 12:50:45 -04:00
createas.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
dbcommands.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
define.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
discard.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dropcmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
event_trigger.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
explain.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
extension.c Replace over-optimistic Assert in partitioning code with a runtime test. 2017-06-04 16:20:03 -04:00
foreigncmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
functioncmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
indexcmds.c Disallow CREATE INDEX if table is already in use in current session. 2017-06-04 12:02:41 -04:00
lockcmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
matview.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
opclasscmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
operatorcmds.c Replace LookupFuncNameTypeNames() with LookupFuncWithArgs() 2017-03-06 13:31:47 -05:00
policy.c Provide CatalogTupleDelete() as a wrapper around simple_heap_delete(). 2017-02-01 16:13:30 -05:00
portalcmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
prepare.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
proclang.c Provide CatalogTupleDelete() as a wrapper around simple_heap_delete(). 2017-02-01 16:13:30 -05:00
publicationcmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
schemacmds.c Add infrastructure to support EphemeralNamedRelation references. 2017-03-31 23:17:18 -05:00
seclabel.c Remove objname/objargs split for referring to objects 2017-03-06 13:31:47 -05:00
sequence.c Fix ALTER SEQUENCE OWNED BY to not rewrite the sequence relation. 2017-06-12 16:57:31 -04:00
statscmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
subscriptioncmds.c Remove "synchronized table states" notice message 2017-06-12 11:42:06 -04:00
tablecmds.c Disallow CREATE INDEX if table is already in use in current session. 2017-06-04 12:02:41 -04:00
tablespace.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
trigger.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
tsearchcmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
typecmds.c Fix improper quoting of format_type_be() output. 2017-05-29 21:48:26 -04:00
user.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
vacuum.c Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
vacuumlazy.c Assorted translatable string fixes 2017-06-04 11:41:16 -04:00
variable.c Assorted translatable string fixes 2017-06-04 11:41:16 -04:00
view.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00