summaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-06-18 11:57:33 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-06-18 11:57:33 -0400
commit45e98ee730621fd34d0a132343cb3f906ccc8416 (patch)
tree7cbba5ede8296c0e740d4b9b8c4daf21167cf7b8 /contrib/jsonb_plperl/jsonb_plperl.c
parentb97a3465d73bfc2a9f5bcf5def1983dbaa0a26f8 (diff)
downloadpostgresql-45e98ee730621fd34d0a132343cb3f906ccc8416.tar.gz
Remove obsolete prohibition on function name matching a column name.
ProcedureCreate formerly threw an error if the function to be created has one argument of composite type and the function name matches some column of the composite type. This was a (very non-bulletproof) defense against creating situations where f(x) and x.f are ambiguous. But we don't really need such a defense in the wake of commit b97a3465d, which allows us to deal with such situations fairly cleanly. This behavior also created a dump-and-reload hazard, since a function might be rejected if a conflicting column name had been added to the input composite type later. Hence, let's just drop the check. Discussion: https://postgr.es/m/CAOW5sYa3Wp7KozCuzjOdw6PiOYPi6D=VvRybtH2S=2C0SVmRmA@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions