aboutsummaryrefslogtreecommitdiff
path: root/src/backend/rewrite/rewriteHandler.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-12-02 14:24:44 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-12-02 14:24:44 -0500
commit97299cf99df086af847a641161e8b925fdf840b9 (patch)
treee110ced4c07f493df4e968ce370b972968f0b057 /src/backend/rewrite/rewriteHandler.c
parentebf87c019c042a33cf9d2810c1fe360ddc7f8e93 (diff)
downloadpostgresql-97299cf99df086af847a641161e8b925fdf840b9.tar.gz
postgresql-97299cf99df086af847a641161e8b925fdf840b9.zip
Fix psql's \sf and \ef for new-style SQL functions.
Some options of these commands need to be able to identify the start of the function body within the output of pg_get_functiondef(). It used to be that that always began with "AS", but since the introduction of new-style SQL functions, it might also start with "BEGIN" or "RETURN". Fix that on the psql side, and add some regression tests. Noted by me awhile ago, but I didn't do anything about it. Thanks to David Johnston for a nag. Discussion: https://postgr.es/m/AM9PR01MB8268D5CDABDF044EE9F42173FE8C9@AM9PR01MB8268.eurprd01.prod.exchangelabs.com
Diffstat (limited to 'src/backend/rewrite/rewriteHandler.c')
0 files changed, 0 insertions, 0 deletions