Relational Engine Limits
The following table shows the limits or conditions that apply to features of the Relational Engine. A PSQL database may contain four billion objects in any valid combination. The objects are persisted in the data dictionary files.
See also Naming Conventions in PSQL Programmer's Guide in the Developer Reference.
1The maximum size of a CHAR, NCHAR, VARCHAR or NVARCHAR column that may be fully indexed is 255 bytes
2See also Identifier Restrictions by Identifier Type in Advanced Operations Guide.
Fully Qualified Object Names
A fully qualified object name uses dot notation to combine database and object names. For example, if the database mydbase has a view myview, then its fully qualified object name is mydbase.myview.
Fully qualified object names must be unique within a database. For example, if database mydbase has table acctpay and user-defined function acctpay, then PSQL cannot resolve the name mydbase.acctpay.
Delimited Identifiers in SQL Statements
Use delimited identifiers for column and table names if they contain nonstandard characters. If an identifier is a keyword, it must delimited. The delimiter character is the double quotation mark.
Examples
SELECT "last-name" FROM "non-standard-tbl"
The hyphen is a nonstandard character.
SELECT "password" FROM my_pword_tbl
“Password” is a keyword in the SET PASSWORD statement.