postgresql/src/include
Robert Haas 63f9282f6e Tighten integrity checks on ALTER TABLE ... ALTER COLUMN ... RENAME.
When a column is renamed, we recursively rename the same column in
all descendent tables.  But if one of those tables also inherits that
column from a table outside the inheritance hierarchy rooted at the
named table, we must throw an error.  The previous coding correctly
prohibited the rename when the parent had inherited the column from
elsewhere, but overlooked the case where the parent was OK but a child
table also inherited the same column from a second, unrelated parent.

For now, not backpatched due to lack of complaints from the field.

KaiGai Kohei, with further changes by me.
Reviewed by Bernd Helme and Tom Lane.
2010-02-01 19:28:56 +00:00
..
access Revoke augmentation of WAL records for btree delete, per discussion. 2010-02-01 13:40:28 +00:00
bootstrap Introduce Streaming Replication. 2010-01-15 09:19:10 +00:00
catalog Tighten integrity checks on ALTER TABLE ... ALTER COLUMN ... RENAME. 2010-02-01 19:28:56 +00:00
commands Tighten integrity checks on ALTER TABLE ... ALTER COLUMN ... RENAME. 2010-02-01 19:28:56 +00:00
executor Augment EXPLAIN output with more details on Hash nodes. 2010-02-01 15:43:36 +00:00
foreign Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lib Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq Add support for RADIUS authentication. 2010-01-27 12:12:00 +00:00
mb Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodes Type table feature 2010-01-28 23:21:13 +00:00
optimizer Do parse analysis of an EXPLAIN's contained statement during the normal 2010-01-15 22:36:35 +00:00
parser Support rewritten-based full vacuum as VACUUM FULL. Traditional 2010-01-06 05:31:14 +00:00
port Define INADDR_NONE on Solaris when it's missing. Per a couple of buildfarm 2010-01-28 11:36:14 +00:00
portability Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
postmaster Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
regex Teach the regular expression functions to do case-insensitive matching and 2009-12-01 21:00:24 +00:00
replication Make standby server continuously retry restoring the next WAL segment with 2010-01-27 15:27:51 +00:00
rewrite Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
snowball Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
storage Detect early deadlock in Hot Standby when Startup is already waiting. First 2010-01-31 19:01:11 +00:00
tcop Teach standby conflict resolution to use SIGUSR1 2010-01-16 10:05:59 +00:00
tsearch Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
utils Add string_agg aggregate functions. The one argument version concatenates 2010-02-01 03:14:45 +00:00
c.h Remove all the special-case code for INT64_IS_BUSTED, per decision that 2010-01-07 04:53:35 +00:00
fmgr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
funcapi.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
getaddrinfo.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
getopt_long.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
Makefile Introduce Streaming Replication. 2010-01-15 09:19:10 +00:00
miscadmin.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_config.h.in Alter the configure script to fail immediately if the C compiler does not 2010-01-07 00:25:05 +00:00
pg_config.h.win32 Set proper sizes for size_t and void* on 64-bit Windows builds. 2010-01-02 13:56:37 +00:00
pg_config_manual.h Remove all the special-case code for INT64_IS_BUSTED, per decision that 2010-01-07 04:53:35 +00:00
pg_trace.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pgstat.h Add functions to reset the statistics counter for a single table/index or 2010-01-28 14:25:41 +00:00
pgtime.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
port.h Parenthesize this macro, just in case. 2010-01-31 17:35:46 +00:00
postgres.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
rusagestub.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
windowapi.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00