aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-10-09 05:43:59 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-10-09 05:43:59 +0000
commitc927f80fe487c5487bb6b324ade3652f1181ba95 (patch)
tree530fa89ecce327e0ea7d6bd4ccb5747db1cdf7ce /src
parent0f66d799a3a0ef9a96c5f6b2a982eb21accf9172 (diff)
downloadpostgresql-c927f80fe487c5487bb6b324ade3652f1181ba95.tar.gz
postgresql-c927f80fe487c5487bb6b324ade3652f1181ba95.zip
Use P_TYPE rather than TYPE_P (which will be the name in the next release).
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/gram.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 47ce4aa15d2..c4b219438fb 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.55 1997/10/09 05:35:30 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.56 1997/10/09 05:43:59 thomas Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -2362,7 +2362,7 @@ typname: txname
txname: Id { $$ = $1; }
| DateTime { $$ = $1; }
| TIME { $$ = xlateSqlType("time"); }
- | TYPE_P { $$ = xlateSqlType("type"); }
+ | P_TYPE { $$ = xlateSqlType("type"); }
| INTERVAL interval_opts { $$ = xlateSqlType("interval"); }
| CHARACTER char_type { $$ = $2; }
| DOUBLE PRECISION { $$ = xlateSqlType("float8"); }
@@ -3142,7 +3142,7 @@ index_name: Id { $$ = $1; };
name: Id { $$ = $1; }
| DateTime { $$ = $1; }
| TIME { $$ = xlateSqlType("time"); }
- | TYPE_P { $$ = xlateSqlType("type"); }
+ | P_TYPE { $$ = xlateSqlType("type"); }
;
date: Sconst { $$ = $1; };
@@ -3198,7 +3198,7 @@ Id: IDENT { $$ = $1; };
ColId: Id { $$ = $1; }
| DateTime { $$ = $1; }
| TIME { $$ = "time"; }
- | TYPE_P { $$ = "type"; }
+ | P_TYPE { $$ = "type"; }
;
SpecialRuleRelation: CURRENT