OSDN Git Service

Define ROW and STATEMENT as parser tokens.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 11 Feb 1998 04:09:54 +0000 (04:09 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 11 Feb 1998 04:09:54 +0000 (04:09 +0000)
commit878b8d64c8927c55c3ca28ff7d93283ebb99456a
tree7cba1530341e7dfacc143cac54ad278810b4d77b
parent5e9e8849c95e7ad20deeacddb23bebe0846bbb10
Define ROW and STATEMENT as parser tokens.
Use explicit tokens to decode CREATE TRIGGER clauses.
Allow ROW and STATEMENT as column identifiers.
Fix CAST syntax to require parens per SQL92 spec.
Define TypeId to allow correct translation of type names in CREATE FUNCTION
 and other statements. Need to do this without looking up defined type
 names because CREATE FUNCTION can specify undefined (new) types.
Define UserId to complete removal of "Id" generic entity.
Define xlateSqlFunc() to convert SQL92 CHARACTER_LENGTH() and CHAR_LENGTH()
 functions to calls to length().
Define func_name parser entity for contexts requiring a function name.
Have xlateSqlType() translate "float" to "float8".
src/backend/parser/gram.y
src/backend/parser/keywords.c