postgresql/src/backend/utils/cache
Tom Lane bb4114a4e2 Allow whole-row Vars to be used in partitioning expressions.
In the wake of commit 5b9312378, there's no particular reason
for this restriction (previously, it was problematic because of
the implied rowtype reference).  A simple constraint on a whole-row
Var probably isn't that useful, but conceivably somebody would want
to pass one to a function that extracts a partitioning key.  Besides
which, we're expending much more code to enforce the restriction than
we save by having it, since the latter quantity is now zero.
So drop the restriction.

Amit Langote

Discussion: https://postgr.es/m/CA+HiwqFUzjfj9HEsJtYWcr1SgQ_=iCAvQ=O2Sx6aQxoDu4OiHw@mail.gmail.com
2019-12-25 15:44:15 -05:00
..
attoptcache.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
catcache.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
evtcache.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
inval.c Fix misc typos in comments. 2019-01-23 13:39:00 +02:00
lsyscache.c Fix handling of non-key columns get_index_column_opclass() 2019-09-09 13:50:12 +03:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
partcache.c Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
plancache.c Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
relcache.c Load relcache entries' partitioning data on-demand, not immediately. 2019-12-25 14:43:13 -05:00
relfilenodemap.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
relmapper.c Use consistent style for checking return from system calls 2019-07-07 15:28:49 +02:00
spccache.c Refactor planner's header files. 2019-01-29 15:48:51 -05:00
syscache.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
ts_cache.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
typcache.c Fix plpgsql to re-look-up composite type names at need. 2019-08-15 15:21:47 -04:00