postgresql/src/backend/rewrite
Robert Haas 1d5fede4a9 Code review for c94e6942ce.
validateCheckConstraint() shouldn't try to access the storage for
a partitioned table, because it no longer has any.  Creating a
_RETURN table on a partitioned table shouldn't be allowed, both
because there's no value in it and because trying to do so would
involve a validation scan against its nonexistent storage.

Amit Langote, reviewed by Tom Lane.  Regression test outputs
updated to pass by me.

Discussion: http://postgr.es/m/e5c3cbd3-1551-d6f8-c9e2-51777d632fd2@lab.ntt.co.jp
2017-04-12 11:35:11 -04:00
..
Makefile Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
rewriteDefine.c Code review for c94e6942ce. 2017-04-12 11:35:11 -04:00
rewriteHandler.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
rewriteManip.c Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
rewriteRemove.c Provide CatalogTupleDelete() as a wrapper around simple_heap_delete(). 2017-02-01 16:13:30 -05:00
rewriteSupport.c Remove deprecated COMMENT ON RULE syntax 2017-02-23 08:19:52 -05:00
rowsecurity.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00