aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-07-21 12:05:07 +0900
committerMichael Paquier <michael@paquier.xyz>2020-07-21 12:05:07 +0900
commitc273d9d8ce412a475082b1729462845d2abb5ae8 (patch)
tree8b6fcbbaadc2778258ae62dcd03cf54a14ce6f54 /src/backend/utils/adt/arrayfuncs.c
parenta4faef8f8fe1493397679c014cf11a6e27c0f1e5 (diff)
downloadpostgresql-c273d9d8ce412a475082b1729462845d2abb5ae8.tar.gz
postgresql-c273d9d8ce412a475082b1729462845d2abb5ae8.zip
Rework tab completion of COPY and \copy in psql
This corrects and simplifies $subject in a number of ways: - Remove from the completion the pre-9.0 grammar still supported for compatibility purposes. This simplifies the code, and allows to extend it more easily with new patterns. - Add completion for the options of FORMAT within a WITH clause. - Complete WHERE and WITH clauses correctly depending on if TO or FROM are used, WHERE being only available with COPY FROM. Author: Vignesh C, Michael Paquier Reviewed-by: Ahsan Hadi Discussion: https://postgr.es/m/CALDaNm3zWr=OmxeNqOqfT=uZTSdam_j-gkX94CL8eTNfgUtf6A@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions