postgresql/src/include
Tom Lane 5f5c014590 Allow RECORD and RECORD[] to be specified in function coldeflists.
We can't allow these pseudo-types to be used as table column types,
because storing an anonymous record value in a table would result
in data that couldn't be understood by other sessions.  However,
it seems like there's no harm in allowing the case in a column
definition list that's specifying what a function-returning-record
returns.  The data involved is all local to the current session,
so we should be just as able to resolve its actual tuple type as
we are for the function-returning-record's top-level tuple output.

Elvis Pranskevichus, with cosmetic changes by me

Discussion: https://postgr.es/m/11038447.kQ5A9Uj5xi@hammer.magicstack.net
2019-01-30 19:25:33 -05:00
..
access Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
bootstrap Update copyright for 2019 2019-01-02 12:44:25 -05:00
catalog Allow RECORD and RECORD[] to be specified in function coldeflists. 2019-01-30 19:25:33 -05:00
commands Move vacuumlazy.c into access/heap. 2019-01-15 12:06:19 -08:00
common Use perfect hashing, instead of binary search, for keyword lookup. 2019-01-09 19:47:46 -05:00
datatype Update copyright for 2019 2019-01-02 12:44:25 -05:00
executor Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
fe_utils pgbench: add \cset and \gset commands 2019-01-10 13:42:20 -03:00
foreign Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
jit Fix LLVM related headers to compile standalone (to fix cpluspluscheck). 2019-01-28 18:05:52 -08:00
lib Update copyright for 2019 2019-01-02 12:44:25 -05:00
libpq Update copyright for 2019 2019-01-02 12:44:25 -05:00
mb Update copyright for 2019 2019-01-02 12:44:25 -05:00
nodes Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
optimizer Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
parser Allow generalized expression syntax for partition bounds 2019-01-25 11:28:49 +01:00
partitioning Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
port Update copyright for 2019 2019-01-02 12:44:25 -05:00
portability Update copyright for 2019 2019-01-02 12:44:25 -05:00
postmaster Update copyright for 2019 2019-01-02 12:44:25 -05:00
regex Update copyright for 2019 2019-01-02 12:44:25 -05:00
replication Update copyright for 2019 2019-01-02 12:44:25 -05:00
rewrite Update copyright for 2019 2019-01-02 12:44:25 -05:00
snowball Update copyright for 2019 2019-01-02 12:44:25 -05:00
statistics Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
storage Revert "Avoid creation of the free space map for small heap relations." 2019-01-28 11:31:44 +05:30
tcop Update copyright for 2019 2019-01-02 12:44:25 -05:00
tsearch Update copyright for 2019 2019-01-02 12:44:25 -05:00
utils Rename nodes/relation.h to nodes/pathnodes.h. 2019-01-29 16:49:25 -05:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
fmgr.h Change function call information to be variable length. 2019-01-26 14:17:52 -08:00
funcapi.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
getaddrinfo.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
getopt_long.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Install JIT related headers. 2019-01-28 13:51:12 -08:00
miscadmin.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_config_ext.h.in
pg_config_ext.h.win32
pg_config_manual.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_config.h.in Second try at fixing ecpglib thread-safety problem. 2019-01-21 16:17:10 -05:00
pg_config.h.win32 Second try at fixing ecpglib thread-safety problem. 2019-01-21 16:17:10 -05:00
pg_getopt.h Use our own getopt() on OpenBSD. 2019-01-18 15:06:26 -05:00
pg_trace.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
pgstat.h Change function call information to be variable length. 2019-01-26 14:17:52 -08:00
pgtar.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
pgtime.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
port.h Fix misc typos in comments. 2019-01-23 13:39:00 +02:00
postgres_ext.h
postgres_fe.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
postgres.h Change function call information to be variable length. 2019-01-26 14:17:52 -08:00
rusagestub.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
windowapi.h Update copyright for 2019 2019-01-02 12:44:25 -05:00