Tom Lane
cd902b331d
Change the rules for inherited CHECK constraints to be essentially the same
...
as those for inherited columns; that is, it's no longer allowed for a child
table to not have a check constraint matching one that exists on a parent.
This satisfies the principle of least surprise (rows selected from the parent
will always appear to meet its check constraints) and eliminates some
longstanding bogosity in pg_dump, which formerly had to guess about whether
check constraints were really inherited or not.
The implementation involves adding conislocal and coninhcount columns to
pg_constraint (paralleling attislocal and attinhcount in pg_attribute)
and refactoring various ALTER TABLE actions to be more like those for
columns.
Alex Hunsaker, Nikhil Sontakke, Tom Lane
2008-05-09 23:32:05 +00:00
..
2008-05-09 23:32:05 +00:00
2008-03-18 16:05:07 +00:00
2007-12-06 04:12:10 +00:00
2007-02-01 00:28:19 +00:00
2007-12-12 06:23:27 +00:00
2008-04-28 14:48:58 +00:00
2008-04-09 02:52:04 +00:00
2007-02-08 04:31:37 +00:00
2007-02-01 00:28:19 +00:00
2007-12-06 04:12:10 +00:00
2008-05-09 23:32:05 +00:00
2008-03-06 15:37:56 +00:00
2007-12-06 04:12:10 +00:00
2008-01-05 13:17:00 +00:00
2008-05-02 21:26:10 +00:00
2006-03-10 19:10:50 +00:00
2007-12-06 04:12:10 +00:00
2007-12-06 04:12:10 +00:00
2007-12-06 04:12:10 +00:00
2008-04-21 11:06:13 +00:00
2008-03-30 04:08:15 +00:00
2008-02-16 21:51:04 +00:00
2008-04-04 16:57:21 +00:00
2008-05-09 23:32:05 +00:00
2007-02-01 00:28:19 +00:00
2007-12-06 04:12:10 +00:00
2007-12-06 04:12:10 +00:00
2007-01-31 20:56:20 +00:00
2007-12-03 23:49:51 +00:00
2007-12-28 11:13:55 +00:00
2007-12-06 04:12:10 +00:00
2007-12-03 23:49:51 +00:00
2008-01-15 01:36:53 +00:00
2007-08-31 21:33:48 +00:00
2007-11-14 01:58:18 +00:00
2007-02-03 17:59:36 +00:00
2007-12-03 04:18:47 +00:00
2006-03-11 04:38:42 +00:00
2008-05-04 23:19:24 +00:00
2008-04-03 21:13:07 +00:00
2007-07-21 04:02:41 +00:00
2008-04-14 17:05:34 +00:00
2008-04-14 17:05:34 +00:00
2008-01-30 10:49:55 +00:00
2007-10-30 23:06:06 +00:00
2007-12-06 04:12:10 +00:00
2008-04-14 17:05:34 +00:00
2007-11-13 23:36:26 +00:00
2008-01-09 02:37:45 +00:00
2007-02-20 23:14:19 +00:00
2008-03-14 17:28:23 +00:00
2008-05-02 19:52:37 +00:00
2007-12-10 05:32:51 +00:00
2007-12-10 05:32:51 +00:00
2007-01-31 20:56:20 +00:00
2007-12-10 05:32:51 +00:00
2008-01-30 10:37:36 +00:00
2008-01-01 19:46:01 +00:00
2008-03-31 02:43:14 +00:00
2007-12-06 04:12:10 +00:00
2008-03-22 01:55:14 +00:00
2007-12-10 05:32:51 +00:00
2007-11-28 15:42:31 +00:00
2007-12-15 10:28:21 +00:00
2007-11-08 15:21:03 +00:00
2006-03-11 04:38:42 +00:00
2008-05-07 14:41:56 +00:00
2007-02-18 01:21:49 +00:00
2007-02-01 00:28:19 +00:00
2006-03-10 19:10:50 +00:00
2007-12-11 02:31:49 +00:00
2007-12-10 05:32:51 +00:00
2007-12-28 21:03:31 +00:00
2008-03-19 03:33:21 +00:00
2007-12-10 05:32:51 +00:00
2008-01-17 14:34:45 +00:00
2007-12-10 05:32:51 +00:00
2007-12-10 05:32:51 +00:00
2008-05-07 18:48:40 +00:00
2008-03-21 03:23:30 +00:00
2007-12-10 05:32:51 +00:00
2007-12-28 21:03:31 +00:00
2006-09-16 00:30:20 +00:00
2008-04-10 15:16:46 +00:00
2008-05-03 00:11:36 +00:00
2008-03-28 00:21:56 +00:00
2008-03-28 00:21:56 +00:00
2008-05-07 16:36:43 +00:00
2007-01-31 20:56:20 +00:00
2008-02-08 18:18:05 +00:00
2008-02-15 22:17:06 +00:00
2007-02-01 00:28:19 +00:00
2001-11-21 05:53:41 +00:00
2008-03-27 17:24:16 +00:00
2007-06-12 17:49:12 +00:00
2008-04-21 09:44:47 +00:00
2007-02-01 00:28:19 +00:00
2007-02-01 19:10:30 +00:00
2008-04-26 22:47:40 +00:00
2007-12-06 04:12:10 +00:00
2008-03-24 18:08:47 +00:00
2008-04-01 03:09:30 +00:00
2008-02-15 22:17:06 +00:00
2007-12-06 04:12:10 +00:00
2003-11-29 19:52:15 +00:00
2008-01-23 02:04:47 +00:00
2008-05-02 01:08:27 +00:00
2006-12-10 16:01:06 +00:00
2006-12-10 16:01:06 +00:00
2006-12-10 16:01:06 +00:00
2004-06-29 20:44:34 +00:00
2007-12-28 11:14:19 +00:00
2006-12-10 16:01:06 +00:00
2008-03-20 21:42:48 +00:00
2007-12-06 04:12:10 +00:00
2007-12-06 04:12:10 +00:00
2008-04-14 17:05:34 +00:00
2008-03-28 00:21:56 +00:00
2007-12-06 04:12:10 +00:00
2007-11-26 16:46:51 +00:00
2007-02-01 00:28:19 +00:00
2007-12-06 04:12:10 +00:00
2007-12-11 19:57:32 +00:00
2008-05-02 19:52:37 +00:00
2007-02-01 00:28:19 +00:00
2007-11-10 20:14:36 +00:00
2008-04-14 17:05:34 +00:00
2008-05-08 16:49:37 +00:00
2007-11-28 15:42:31 +00:00
2007-02-01 00:28:19 +00:00
2008-02-23 19:11:45 +00:00