postgresql/src/backend/commands
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
..
aggregatecmds.c
alter.c
amcmds.c
analyze.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
async.c Doc: improve discussion of race conditions involved in LISTEN. 2019-11-24 18:03:39 -05:00
cluster.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
collationcmds.c
comment.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
constraint.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
conversioncmds.c
copy.c
createas.c
dbcommands.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
define.c
discard.c
dropcmds.c
event_trigger.c Have LookupFuncName accept NULL argtypes for 0 args 2019-11-12 17:06:58 -03:00
explain.c Fix "force_parallel_mode = regress" to work with ANALYZE + VERBOSE. 2019-12-16 20:14:35 -05:00
extension.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
foreigncmds.c Have LookupFuncName accept NULL argtypes for 0 args 2019-11-12 17:06:58 -03:00
functioncmds.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
indexcmds.c Load relcache entries' partitioning data on-demand, not immediately. 2019-12-25 14:43:13 -05:00
lockcmds.c
Makefile
matview.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
opclasscmds.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
operatorcmds.c
policy.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
portalcmds.c
prepare.c Avoid splitting C string literals with \-newline 2019-12-24 12:44:12 -03:00
proclang.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
publicationcmds.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
schemacmds.c
seclabel.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
sequence.c
statscmds.c
subscriptioncmds.c
tablecmds.c Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
tablespace.c
trigger.c Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
tsearchcmds.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
typecmds.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
user.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
vacuum.c Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
variable.c
view.c Allow ALTER VIEW command to rename the column in the view. 2019-11-21 19:55:13 +09:00