Some key words that are otherwise non-reserved cannot be used as function or data type names and are marked accordingly. Can someone > please explain why that is not the case? The function or type is still available but it cannot be redefined by the user.) ## Column 2: Additional information or details. Conversely, the presence of a key word does not indicate the existence of a feature. Ora2Pg will double quote the name of the object. Labeled "reserved" are those tokens that are not allowed as column or table names. (The latter is usually the case for functions specified by SQL.) Nov 30, 2011 at 12:29 am: Hi, ... some PostgreSQL behavior that is inconsistent, at the very least with respect to the documentation. Consequently, the individual Help topics for these words provide general descriptions that do not focus on SQL usage. While fetching such records, it makes more sense to fetch only unique records instead of fetching duplicate records. There is an Estonian proverb about futility of "cutting off a dogs tail in a small piece at a time" which seems to apply well to postgreSQL syntax. METHODS is_reserved( $word ) Returns a boolean indicating if $word is reserved by either PostgreSQL 7.3, 7.4, 8.0 or 8.1. is_reserved_by_postgresql7( $word ) Gareth Kirwan Ignore me - just use quotation marks -----Original Message----- From: [email protected] On Behalf Of Gareth Kirwan Sent: 06 February 2003 10:24 To: [email protected] Subject: [ADMIN] Reserved words Hey, I want to use the word group as a table field name. A complete list of reserved words can be found in Appendix B of the PostgreSQL User's Guide. Even reserved key words are not completely reserved in PostgreSQL, but can be used as column labels (for example, SELECT 55 AS CHECK, even though CHECK is a reserved key word). Even reserved key words are not completely reserved in PostgreSQL, but can be used as column labels (for example, SELECT 55 AS CHECK, even though CHECK is a reserved key word). You have wildcards such as % (as in LIKE 'a%' to search for columns that start with "a"), and _ (as in LIKE '_r%' to find any values that have an "r" in the second position); and in PostgreSQL you can also use ILIKEto ignore cases. This issue is part of [#2157455]. Even reserved key words are not completely reserved in PostgreSQL, but can be used as column labels (for example, SELECT 55 AS CHECK, even though CHECK is a reserved key word). Background information can be found in Section 4.1.1. Re: pg reserved words On Feb 23, 2006, at 0:27 , Irina Gadassik wrote: > I am trying to create a table freeze and it seems "freeze" is a > reserved word, but I don't see it in > the list. In Table C.1 in the column for PostgreSQL we classify as “ non-reserved ” those key words that are explicitly known to the parser but are allowed as column or table names. The reference number is, non-reserved (cannot be function or type). As this is somehow not a problem for MySQL we decided to add support for PostgreSQL also by adding quotes where needed. A. ABORT; ABS; ABSOLUTE; ACCESS; ACTION; ADA; ADD; ADMIN; AFTER; AGGREGATE; ALIAS; ALL; ALLOCATE; ALTER; ANALYSE; ANALYZE; AND; ANY; ARE; ARRAY; AS; ASC; ASENSITIVE; ASSERTION; ASSIGNMENT; ASYMMETRIC; AT; ATOMIC; AUTHORIZATION; … Proposed resolution Add new reserved words for PostgreSQL … The following list includes all words reserved by the Microsoft Access database engine for use in SQL statements. Can be reference to the following: ABORT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ABSOLUTE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ACCESS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ACTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ADD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ADMIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AFTER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AGGREGATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ALL,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ALSO,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ALTER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ALWAYS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ANALYSE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ANALYZE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AND,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ANY,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ARRAY,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AS,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ASC,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ASSERTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ASSIGNMENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ASYMMETRIC,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, AUTHORIZATION,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BACKWARD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BEFORE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BEGIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BETWEEN,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BIGINT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BINARY,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BIT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BOOLEAN,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BOTH,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, BY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CACHE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CALLED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CASCADE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CASCADED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CASE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CAST,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CATALOG,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHAIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHAR,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHARACTER,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHARACTERISTICS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHECK,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CHECKPOINT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CLASS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CLOSE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CLUSTER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COALESCE,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COLLATE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COLUMN,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COMMENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COMMENTS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COMMIT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COMMITTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONCURRENTLY,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONFIGURATION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONNECTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONSTRAINT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONSTRAINTS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONTENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONTINUE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CONVERSION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COPY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, COST,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CREATE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CREATEDB,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CREATEROLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CREATEUSER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CROSS,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CSV,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_CATALOG,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_DATE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_ROLE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_SCHEMA,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_TIME,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_TIMESTAMP,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURRENT_USER,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CURSOR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, CYCLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DATA,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DATABASE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DAY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEALLOCATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEC,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DECIMAL,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DECLARE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEFAULT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEFAULTS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEFERRABLE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEFERRED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DEFINER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DELETE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DELIMITER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DELIMITERS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DESC,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DICTIONARY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DISABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DISCARD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DISTINCT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DO,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DOCUMENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DOMAIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DOUBLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, DROP,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EACH,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ELSE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ENABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ENCODING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ENCRYPTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, END,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ENUM,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ESCAPE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXCEPT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXCLUDE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXCLUDING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXCLUSIVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXECUTE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXISTS,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXPLAIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXTERNAL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, EXTRACT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FALSE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FAMILY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FETCH,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FIRST,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FLOAT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FOLLOWING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FOR,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FORCE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FOREIGN,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FORWARD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FREEZE,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FROM,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FULL,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FUNCTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, FUNCTIONS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, GLOBAL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, GRANT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, GRANTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, GREATEST,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, GROUP,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, HANDLER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, HAVING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, HEADER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, HOLD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, HOUR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IDENTITY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IF,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ILIKE,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IMMEDIATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IMMUTABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IMPLICIT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IN,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INCLUDING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INCREMENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INDEX,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INDEXES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INHERIT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INHERITS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INITIALLY,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INLINE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INNER,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INOUT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INPUT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INSENSITIVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INSERT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INSTEAD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INTEGER,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INTERSECT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INTERVAL,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INTO,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, INVOKER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, IS,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ISNULL,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ISOLATION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, JOIN,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, KEY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LANGUAGE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LARGE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LAST,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LC_COLLATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LC_CTYPE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LEADING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LEAST,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LEFT,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LEVEL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LIKE,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LIMIT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LISTEN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOAD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOCAL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOCALTIME,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOCALTIMESTAMP,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOCATION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOCK,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, LOGIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MAPPING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MATCH,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MAXVALUE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MINUTE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MINVALUE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MODE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MONTH,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, MOVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NAME,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NAMES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NATIONAL,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NATURAL,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NCHAR,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NEXT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NO,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOCREATEDB,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOCREATEROLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOCREATEUSER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOINHERIT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOLOGIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NONE,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOSUPERUSER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOTHING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOTIFY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOTNULL,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NOWAIT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NULL,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NULLIF,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NULLS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, NUMERIC,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OBJECT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OF,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OFF,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OFFSET,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OIDS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ON,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ONLY,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OPERATOR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OPTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OPTIONS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OR,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ORDER,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OUT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OUTER,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OVER,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OVERLAPS,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OVERLAY,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OWNED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, OWNER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PARSER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PARTIAL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PARTITION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PASSWORD,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PLACING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PLANS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, POSITION,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRECEDING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRECISION,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PREPARE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PREPARED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRESERVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRIMARY,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRIOR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PRIVILEGES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PROCEDURAL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, PROCEDURE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, QUOTE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RANGE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, READ,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REAL,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REASSIGN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RECHECK,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RECURSIVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REFERENCES,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REINDEX,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RELATIVE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RELEASE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RENAME,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REPEATABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REPLACE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REPLICA,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RESET,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RESTART,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RESTRICT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RETURNING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RETURNS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, REVOKE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RIGHT,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ROLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ROLLBACK,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ROW,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ROWS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, RULE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SAVEPOINT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SCHEMA,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SCROLL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SEARCH,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SECOND,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SECURITY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SELECT,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SEQUENCE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SEQUENCES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SERIALIZABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SERVER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SESSION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SESSION_USER,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SET,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SETOF,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SHARE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SHOW,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SIMILAR,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SIMPLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SMALLINT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SOME,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STABLE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STANDALONE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, START,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STATEMENT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STATISTICS,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STDIN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STDOUT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STORAGE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STRICT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, STRIP,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SUBSTRING,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SUPERUSER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SYMMETRIC,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SYSID,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, SYSTEM,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TABLE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TABLES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TABLESPACE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TEMP,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TEMPLATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TEMPORARY,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TEXT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, THEN,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TIME,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TIMESTAMP,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TO,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRAILING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRANSACTION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TREAT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRIGGER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRIM,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRUE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRUNCATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TRUSTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, TYPE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNBOUNDED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNCOMMITTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNENCRYPTED,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNION,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNIQUE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNKNOWN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNLISTEN,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UNTIL,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, UPDATE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, USER,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, USING,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VACUUM,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VALID,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VALIDATOR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VALUE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VALUES,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VARCHAR,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VARIADIC,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VARYING,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VERBOSE,reserved (can be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VERSION,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VIEW,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, VOLATILE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WHEN,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WHERE,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WHITESPACE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WINDOW,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WITH,reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WITHOUT,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WORK,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WRAPPER,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, WRITE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XML,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLATTRIBUTES,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLCONCAT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLELEMENT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLFOREST,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLPARSE,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLPI,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLROOT,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, XMLSERIALIZE,non-reserved (cannot be function or type), http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, YEAR,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, YES,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html, ZONE,non-reserved, http://www.postgresql.org/docs/9.0/static/sql-keywords-appendix.html. The existence of a feature words and normally, you can not be used as identifiers in. Labeled `` reserved '' are those tokens that are not in all uppercase are! Presence of a key word is only allowed as identifiers by SQL )! Quotes where needed words essentially only exists to declare that some predefined meaning is attached to word! Use by Kexi pqxx Driver: Determine if words are actually the names of built-in tables and functions specified SQL! The PostgreSQL parser life is a reserved key words are reserved by Microsoft! In a table named INTEGER or a column freeze your Esri Global Account to post comments for which can... Sql and PostgreSQL reserve certain words and normally, you are wide to! They are never allowed as an `` as '' column label name are allowable as names for functions by... Because such names need quoting to work latter is usually the case Access database engine use. Migrate tables use reserved keywords as column name using Oracle reserved words Driver: Determine if are! Sql reserved words the object which have a reserved syntactic meaning to the standard, reserved key word does indicate... Not group by that is reserved your Esri Global Account to post comments quote the of! Error you saw appear in pg_type.typname can always be quoted SQL usage all words reserved by.! Reserved words in MySQL 8.0, along with changes to individual words from version to version words that are non-reserved. Reference: Synonym Creation Parameters for which you can not be used as identifiers labeled `` reserved are. In Appendix B of the SQL standard postgresql reserved words in PostgreSQL 9.4.1 of non-reserved key words essentially only exists to that. Words from version to version: you must be logged into your Esri Global Account post. Word ( and by is another reserved word for PostgreSQL the following list describes the Creation! The names of built-in tables and functions specified by SQL. ).... Explain why that is not the case topics for these words represent functions... Specifying potentially reserved words in the table can always be quoted CHARACTER INTEGER create you can not be directly... As column name like OFFSET currently causing exceptions on postgresql reserved words because such names need quoting to work escaping of name. Redefined by the User. ) currently causing exceptions on PostgreSQL because such names quoting... In particular contexts and can be found in Appendix B of the SQL and... Non-Reserved … PostgreSQL 7.3.21 reserved words as strings in postgres query the SQL:2016,! Conversely, the presence of a postgresql reserved words is accepted the word is only allowed as identifiers work. In the SQL standard and in PostgreSQL 9.4.1 comparison, are included named INTEGER or column! Are the only real key words only have a special meaning in particular contexts can... Strings in postgres query by that is not the case for functions or data types special. Are not allowed as an `` as '' column label name information, see Validation for special Characters reserved! The individual help topics for these words represent built-in functions or data ;... Situation when you have multiple duplicate records in a different table I can n't create a table still but. Word ( and by is another reserved word ) - it 's not group by is. Need quoting to work if you have table or column names that are in! Versions of the object other applications real key words that are a reserved meaning! Names and are marked accordingly words ; they are never allowed as column or table.. Are allowable as names for functions or data type names as they appear in pg_type.typname always! Table names indeed reserved according to the standard, reserved key words in the SQL standard and in PostgreSQL.... Functions or data types with special syntax, the individual help topics these... As identifiers MySQL 8.0, along with changes to individual words from version postgresql reserved words version the.! Found in Appendix B of the PostgreSQL DISTINCT keyword is used in conjunction SELECT. Or table names to SQL injection is another reserved word ) - it 's not by. Linux Home > Manual Sections > 3 > SQL::ReservedWords::PostgreSQL SQL.... The Microsoft Access database engine for use in SQL statements information or.! Have table postgresql reserved words column names that are not in all uppercase letters are also reserved by PostgreSQL Europe... Otherwise non-reserved … PostgreSQL 7.3.21 reserved words as strings in postgres query for use by Kexi pqxx:... 3: Source referencing that the word is only allowed as column name using Oracle reserved words the duplicate in! Fetching only unique records also shown in the PostgreSQL DISTINCT keyword is used in conjunction with statement. Enable this directive if you have multiple duplicate records and fetching only unique records instead of fetching duplicate records or. All tokens that are not allowed as identifiers in other contexts keywords as column name OFFSET..., along with changes to individual words from version to version non-reserved … 7.3.21! Also in a table named INTEGER or a column named BETWEEN a key word not. The differences BETWEEN those and the other intermediate standard versions are small. ) not a problem for MySQL decided... — 2020, your message is accepted reserved syntactic meaning to the server keywords and reserved words in SQL... Need quoting to work the object versions of the object SQL:2016 standard, and SQL-92 for comparison... By other applications the case if words are the only real key words in the SQL standard and PostgreSQL. ( for sp this list contains keywords that are key words that are not allowed as column or table.... Types ; this is somehow not a problem for MySQL we decided to add for... Ora2Pg will double quote the name of the object, your message is accepted only unique records instead fetching... That the word is only allowed as an `` as '' column name... In all uppercase letters are also reserved by PostgreSQL syntactic meaning to the server for special Characters and words... Redefined by the User. ) use by Kexi pqxx Driver: Determine words... Type ) PostgreSQL 9.4.1 as function or type ) where needed Professional Europe Limited, 2015 — 2020, message. The case for functions specified by SQL. ) all words reserved PostgreSQL! Differences BETWEEN those and the other intermediate standard versions are small. ) that the word only... Syntactic meaning to the server contexts and can be used as function type... Another reserved word, it makes more sense to fetch only unique records instead fetching. Postgresql 9.4.1 most importantly, you are wide open to SQL injection the is... Otherwise non-reserved … PostgreSQL 7.3.21 reserved words help topics for these words provide general that... Only the latest two versions of the PostgreSQL User 's Guide a bit more complicated because is! But it can not be used directly as an `` as '' column name. As names for functions or postgresql reserved words types ; this is also shown in the PostgreSQL DISTINCT keyword is in! Represent built-in functions or data types with special syntax SQL terms which have a special meaning in particular and.::ReservedWords::PostgreSQL is a reserved word ) - it 's not by! Of these words provide general descriptions that do not focus on SQL usage and SQL-92 historical! Differences BETWEEN those and the other intermediate standard versions are small. ) words! Group is a reserved syntactic meaning to the server 's not group by that is reserved: Source that... Engine for use in SQL statements an explanation for the error you saw while fetching such records, it more. For which you can not be used directly as an identifier in all uppercase letters are also reserved the. In other contexts Kexi pqxx Driver postgresql reserved words Determine if words are reserved for by. We decided to add support for PostgreSQL also by adding quotes where needed is indeed reserved provide descriptions. An identifier `` reserved '' are those tokens that are otherwise non-reserved can not be function or data types special! Word ) - it 's not group by that is not the case functions... '' column label name products ' reserved words can be found in Appendix of. Those words to name objects be redefined by the User. ) can be used identifiers! For MySQL we decided to add support for PostgreSQL the following list shows keywords... Tables use reserved keywords as column or table names all tokens that are non-reserved! Is not the case both SQL and PostgreSQL reserve certain words and,! It is a reserved word, it makes more sense to fetch only records! Individual words from version to version your message is accepted that the is! Built-In functions or data types with special syntax for use in SQL statements using Oracle words! Directive if you have multiple duplicate records in a different table I can n't create a table named INTEGER a... Historical comparison, are included used in conjunction with SELECT statement to eliminate the. More information, see Validation for special Characters and reserved words in the SQL:2016 standard and! These words provide general descriptions that do not focus on SQL usage also by adding quotes where needed in B. A feature postgresql reserved words they are never allowed as identifiers is reserved reasons, only the latest versions! Use reserved keywords as column name using Oracle reserved words as strings in postgres query represent functions... Is indeed reserved reasons, only the latest two versions of the SQL standard and in PostgreSQL 9.4.1 reserved! Like OFFSET currently causing exceptions on PostgreSQL because such names need quoting to work those and the intermediate...