- All Implemented Interfaces:
- it.unibz.inf.ontop.dbschema.QuotedIDFactory
public class PostgreSQLQuotedIDFactory
extends it.unibz.inf.ontop.dbschema.impl.SQLStandardQuotedIDFactory
Creates QuotedIdentifiers following the rules of PostrgeSQL:
- unquoted identifiers are converted into lower case
- quoted identifiers are preserved
PostgreSQL
----------
http://www.postgresql.org/docs/9.1/static/sql-syntax-lexical.html
Unquoted names are always folded to lower (!) case.
Quoted identifier is formed by enclosing an arbitrary sequence of characters in double-quotes (").
(To include a double quote, write two double quotes.)
A variant of quoted identifiers allows including escaped Unicode characters identified by their code points.
This variant starts with U& (upper or lower case U followed by ampersand) immediately before the opening
double quote, without any spaces in between, for example U&"foo".
- Author:
- Roman Kontchakov