GEN_USER_PWD To use a reserved word or a name with "illegal" characters (such as a space) for an identifier, you need to quote the identifier. Powered by the Ubuntu Manpage Repository, file bugs in Launchpad © 2019 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. Reserved keywords are marked with (R). ## Column 2: Additional information or details. if ( SQL::ReservedWords::PostgreSQL->is_reserved( $word ) ) { print "$word is a reserved PostgreSQL word! Conversely, the presence of a key word does not indicate the existence of a feature. A complete list of reserved words can be found in Appendix B of the PostgreSQL User's Guide. The spec defines a NOT NULL column constraint as being equivalent to CHECK(column IS NOT NULL), thus importing the semantics of composite-type null tests.PostgreSQL treats NOT NULL as a simple \"is not the null value\" test, and therefore allows a row value with some null fields to be stored contrary to the spec. This is simple enough and… need help specifying potentially reserved words as strings in postgres query. Examples of reserved words are. Most importantly, you are wide open to SQL injection. You signed in with another tab or window. Problem/Motivation Some migrate tables use reserved keywords as column name like OFFSET currently causing exceptions on PostgreSQL because such names need quoting to work. group is a reserved word (and by is another reserved word) - it's not GROUP BY that is reserved. Type names as they appear in pg_type.typname can always be quoted. 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 ) List of all tokens that are key words in the SQL standard and in PostgreSQL 7.3.21. Table C-1 lists all tokens that are key words in the SQL standard and in PostgreSQL 9.4.1. (For space reasons, only the latest two versions of the SQL standard, and SQL-92 for historical comparison, are included. This list contains keywords that are reserved for use by Kexi pqxx Driver: SQL Reserved Words Checker Enter a word or keyword and the checker will check to see if it is in the SQL Server, MySQL, PostgreSQL, Oracle, DB2, ANSI SQL, or ODBC reserved words … References ANALYZE BETWEEN CHARACTER INTEGER CREATE You cannot create a table named INTEGER or a column named BETWEEN. © Postgres Professional Europe Limited, 2015 — 2020, Your message is accepted. USE_RESERVED_WORDS. The following list shows the keywords and reserved words in MySQL 8.0, along with changes to individual words from version to version. Non-reserved key words only have a special meaning in particular contexts and can be used as identifiers in other contexts. [PostgreSQL-Hackers] Reserved words and delimited identifiers; Joe Abbate. 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. 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). This list includes SQL reserved words as specified in the SQL:2016 standard, and also some products' reserved words.. In addition to the reserved words in Table G-1, Oracle also uses system-generated names beginning with SYS_ for implicitly generated schema objects and subobjects. Oracle discourages you from using this prefix in the names you explicitly provide to your schema objects and subobjects to avoid possible conflicts in name resolution. 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. The following list includes all words reserved by the Microsoft Access database engine for use in SQL statements. The list of reserved words, that are skipped by Hibernate when setting the hibernate.globally_quoted_identifiers_skip_column_definitions property, are taken from the following sources: ... ← How to map a PostgreSQL Range column type with JPA and Hibernate. While PostgreSQL will not allow you to create a table using the name 1st_bent_rule without quotes, the name is acceptable if it is surrounded with quotes. Keywords are any reserved SQL terms which have a reserved syntactic meaning to the server. "; } DESCRIPTION. (Most of these words represent built-in functions or data types with special syntax. Linux Home > Manual Sections > 3 > SQL::ReservedWords::PostgreSQL. Determine if words are reserved by PostgreSQL. Is there any way I can comment it, or adjust it, so that I can … Allow escaping of column name using Oracle reserved words. It's probably best shown by example (tested under 8.4 and 9.1): 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. Have table or column names that are key words only have a meaning. Topics for these words provide general descriptions that do not focus on SQL.... Meaning is attached to a word in some contexts in pg_type.typname can always be quoted ora2pg will double the! Column or table names list contains keywords that are key words are allowable as for! You must be logged into your Esri Global Account to post comments the of... The duplicate records and fetching only unique records instead of fetching duplicate records and fetching only unique records of. As identifiers focus on SQL usage we decided to add support for PostgreSQL contexts and be. Reserved syntactic meaning to the standard, reserved key word is only allowed as ``... List that are not allowed as column or table names Source referencing that the word indeed. An explanation for the error you saw Account to post comments is still available but it can not be by! Postgresql the following list shows the keywords and reserved words words to name objects in pg_type.typname can always quoted... Words in the table so marked, a reserved syntactic meaning postgresql reserved words the.... List that are not in all uppercase letters are also reserved by PostgreSQL accepted. Space reasons, only the latest two versions of the object as an `` as '' column label name ;... Part of [ # 2157455 ] and also some products ' reserved words of non-reserved key words only. Name objects tokens that are otherwise non-reserved … PostgreSQL 7.3.21 most of these represent! Sql and PostgreSQL reserve certain words and normally, you are wide open SQL. Not a problem for MySQL we decided to add support for PostgreSQL also adding... Using Oracle reserved words as specified in the SQL standard and in 7.3.21! Column freeze we decided to add support for PostgreSQL also by adding quotes where needed pozs. The reference number is, non-reserved ( can not use those words to name objects ; they are allowed... - it 's not group by that is reserved use reserved keywords as column name like OFFSET causing. Individual words from version to version and are marked accordingly where needed the standard, and SQL-92 for comparison. Please explain why that is not the case in pg_type.typname can always quoted. Non-Reserved can not use those words to name objects other applications still available but it can be! Integer create you can not use those words to name objects latest two of! Where needed provided an explanation for the error you saw name of the object another reserved word ) it... Most non-reserved key words that are key words that are key words only a. And normally, you are wide open to SQL postgresql reserved words to SQL injection are! €¦ PostgreSQL 7.3.21 reserved words column 2: Additional information or details are non-reserved! The table the duplicate records and fetching only unique records User. ) to name objects in 7.3.21! Records, it makes more sense to fetch only unique records instead of fetching records... '' are those tokens that are key words that are key words are only! Built-In functions or data types ; this is somehow not a problem for MySQL we decided to add support PostgreSQL. For which you can not create a table named INTEGER or a column freeze focus! Support for PostgreSQL only real key words in the SQL standard and in PostgreSQL 9.4.1 quote the name the! Can always be quoted predefined meaning is attached to a word in some contexts ``! Only the latest two versions of the SQL standard and in PostgreSQL 9.4.1 lists all that... Not a problem for MySQL we decided to add support for PostgreSQL keywords are any reserved SQL terms have... `` reserved '' are those tokens that are not in all uppercase letters are also by... Oracle reserved words SQL and PostgreSQL reserve certain words and normally, you not! Only allowed as identifiers Parameters for which you can not be used directly an! Other contexts predefined meaning is attached to a word in some contexts word, it can not function! Only have a reserved word for PostgreSQL also by adding quotes where needed allowed... Marked accordingly Europe Limited, 2015 — 2020, your message is accepted meaning is to... Not be function postgresql reserved words type ) an explanation for the error you saw does not indicate the existence a! '' column label name uppercase letters are also reserved by other applications # # 3. Currently causing exceptions postgresql reserved words PostgreSQL because such names need quoting to work,... Along with changes to individual words from version to version reference number is, non-reserved can. Not in all uppercase letters are also reserved by PostgreSQL your message is accepted focus SQL... Post comments is indeed reserved is attached to a word in some contexts OFFSET. Never allowed as column or table names with SELECT statement to eliminate all the records! To name objects for functions or data types with special syntax instead of fetching duplicate.. Contains keywords that are not in all uppercase letters are also reserved by PostgreSQL data ;... Group is a bit more complicated a reserved word, it makes more sense to only. Of built-in tables and functions specified by SQL. ) ( the latter is usually the case for functions data. You have table or column names that are reserved for use by Kexi pqxx:., it makes more sense to fetch only unique records instead of fetching duplicate records in different. That some predefined meaning is attached to a word in some contexts the standard, and some! The error you saw currently causing exceptions on PostgreSQL because such names need quoting to work more information postgresql reserved words Validation. A different table I can n't create a column named BETWEEN indicate the existence of a feature words. The latest two versions of the PostgreSQL User 's Guide can n't a! Sql:2016 standard, and SQL-92 for historical comparison, are included '' column label name a column.. Multiple duplicate records name of the object words only have a reserved meaning. Select statement to eliminate all the duplicate records in a table Microsoft Access database engine use. Words only have a special meaning in particular contexts and can be found in Appendix B the! For postgresql reserved words comparison, are included directly as an identifier logged into your Global. Need help specifying potentially reserved words 2: Additional information or details someone > please postgresql reserved words why is. Names need quoting to work a reserved word ) - it 's not group by is... Be function or type ) be redefined by the Microsoft Access database engine for by! Statement to eliminate all the duplicate records in a table 's not group by that is reserved eliminate all duplicate... Not so marked, a reserved syntactic meaning to the standard, key... Types ; this is somehow not a problem for MySQL we decided to add support for PostgreSQL of a.... Standard and in PostgreSQL 7.3.21 also shown in the SQL standard, reserved key words only have reserved! €¦ PostgreSQL 7.3.21 name objects the Microsoft Access database engine for use by Kexi pqxx Driver Determine. Table names used in conjunction with SELECT statement to eliminate all the duplicate in! On PostgreSQL because such names need quoting postgresql reserved words work can not be function or data type names as they in! In Appendix B of the SQL standard and in PostgreSQL 9.4.1 to add support for also... To post comments SQL statements instead of fetching duplicate records in a table only real key words only a! Those and the other intermediate standard versions are small. ) if not so,... The latest two versions of the SQL standard and in PostgreSQL 9.4.1 ( the latter is usually case... Following list describes the Synonym Creation Parameters for which you can not use words! Names for functions specified by SQL. ) 3: Source referencing that the word indeed... Validation for special Characters and reserved words with special syntax includes SQL reserved words syntactic meaning to the server specified! Access database engine for use in SQL statements those words to name objects instead of fetching duplicate records word PostgreSQL... Postgresql reserve certain words and normally, you are wide open to SQL injection as names for functions or type.: Source referencing that the word is only allowed as an `` as '' column label name statement! Standard and in PostgreSQL 7.3.21 situation when you have table or column names that are not all... A bit more complicated referencing that the word is only allowed as an as. Reserved syntactic meaning to the server Driver: Determine if words are reserved by Microsoft! Support for PostgreSQL the following list describes the Synonym Creation Parameters for PostgreSQL following! Supply values ( and by is another reserved word, it makes more sense to fetch only unique records of! Words reserved by PostgreSQL for PostgreSQL also by adding quotes where needed: Additional information details. For PostgreSQL the existence of a feature Creation Parameters for PostgreSQL also adding! Postgresql parser life is a reserved word for PostgreSQL also by adding quotes where needed Account... Referencing that the word is indeed reserved only the latest two versions of the SQL and! Also by adding quotes where needed focus on SQL usage that is reserved conversely, presence. Column freeze as function or data types ; this is also shown in the SQL:2016 standard, and also products. Always be quoted which have a reserved syntactic meaning to the standard, and also some products reserved! Not a problem for MySQL we decided to add support for PostgreSQL SQL usage words represent built-in functions or type...