Passend zur gestrigen Liste von reservierten MySQL Wörtern, hier die passende für PostgreSQL:
public static final String[] POSGRESQL_RESERVED_WORDS = {"all", "analyse", "analyze", "and", "any", "as", "asc", "authorization", "between", "binary", "both", "case", "cast", "check", "collate", "column", "constraint", "create", "current_date", "current_time", "current_timestamp", "current_user", "default", "deferrable", "dec", "decimal", "desc", "distinct", "do", "else", "except", "false", "exists", "extract", "false", "float", "for", "foreign", "freeze", "from", "full", "grant", "group", "having", "ilike", "in", "initially", "inner", "intersect", "into", "is", "isnull", "join", "leading", "left", "like", "limit", "localtime", "localtimestamp", "natural", "new", "not", "notnull", "null", "nullif", "numeric", "off", "offset", "old", "on", "only", "or", "order", "outer", "overlaps", "placing", "primary", "references", "right", "row", "select", "session_user", "some", "table", "then", "time", "timestamp", "to", "trailing", "treat", "true", "union", "unique", "user", "using", "varchar", "verbose", "when", "where"};
|