postgresql/src/backend
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
..
access Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
bootstrap Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
catalog Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
commands Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
executor Load relcache entries' partitioning data on-demand, not immediately. 2019-12-25 14:43:13 -05:00
foreign Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
jit Refactor attribute mappings used in logical tuple conversion 2019-12-18 16:23:02 +09:00
lib Make StringInfo available to frontend code. 2019-11-05 14:56:40 -08:00
libpq Avoid splitting C string literals with \-newline 2019-12-24 12:44:12 -03:00
main Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
nodes Prevent overly-aggressive collapsing of joins to RTE_RESULT relations. 2019-12-14 13:49:15 -05:00
optimizer Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
parser Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
partitioning Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
po Translation updates 2019-06-17 15:30:20 +02:00
port Use only one thread to handle incoming signals on Windows. 2019-12-11 15:09:54 -05:00
postmaster Extend the ProcSignal mechanism to support barriers. 2019-12-19 14:56:20 -05:00
regex Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
replication Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
rewrite Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
snowball Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
statistics Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
storage Rename files and headers related to index AM 2019-12-25 10:23:39 +09:00
tcop Extend the ProcSignal mechanism to support barriers. 2019-12-19 14:56:20 -05:00
tsearch Fix some OBJS lists in two Makefiles to be ordered alphabetically 2019-12-18 10:42:40 +09:00
utils Allow whole-row Vars to be used in partitioning expressions. 2019-12-25 15:44:15 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00