aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/parser.c
diff options
context:
space:
mode:
authorGreg Stark <stark@mit.edu>2013-07-29 23:43:44 +0100
committerGreg Stark <stark@mit.edu>2013-07-29 23:44:11 +0100
commit69b7d59a744134e33bbe51dab44dd4113c83b7fb (patch)
treee3d4ce55850315694f7a6a3d070a4c7ab2a26620 /src/interfaces/ecpg/preproc/parser.c
parentc62736cc37f6812d1ebb41ea5a86ffe60564a1f0 (diff)
downloadpostgresql-69b7d59a744134e33bbe51dab44dd4113c83b7fb.tar.gz
postgresql-69b7d59a744134e33bbe51dab44dd4113c83b7fb.zip
Sync ECPG with WITH ORDINALITY changes
Diffstat (limited to 'src/interfaces/ecpg/preproc/parser.c')
-rw-r--r--src/interfaces/ecpg/preproc/parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/parser.c b/src/interfaces/ecpg/preproc/parser.c
index 2ce9dd91c01..c18615e2b05 100644
--- a/src/interfaces/ecpg/preproc/parser.c
+++ b/src/interfaces/ecpg/preproc/parser.c
@@ -108,6 +108,9 @@ filtered_base_yylex(void)
case TIME:
cur_token = WITH_TIME;
break;
+ case ORDINALITY:
+ cur_token = WITH_ORDINALITY;
+ break;
default:
/* save the lookahead token for next time */
lookahead_token = next_token;