tools.assert_raises_regexp(SQLParseError,"PostgreSQL does not support table with more than 3 dots",pg_quote_identifier,*('db.schema.table.more','table'))
tools.assert_raises_regexp(SQLParseError,"PostgreSQL does not support column with more than 4 dots",pg_quote_identifier,*('db.schema.table.column.more','column'))
assert_raises_regexp(SQLParseError,"PostgreSQL does not support column with more than 4 dots",pg_quote_identifier,*('db.schema.table.column.more','column'))