@@ -141,9 +124,7 @@ class PostgreSqlPlatform extends AbstractPlatform
}
/**
* Whether the platform supports database schemas.
*
* @return boolean
* {@inheritDoc}
*/
publicfunctionsupportsSchemas()
{
...
...
@@ -151,25 +132,23 @@ class PostgreSqlPlatform extends AbstractPlatform
}
/**
* Whether the platform supports identity columns.
* Postgres supports these through the SERIAL keyword.
*
* @return boolean
* {@inheritDoc}
*/
publicfunctionsupportsIdentityColumns()
{
returntrue;
}
/**
* {@inheritDoc}
*/
publicfunctionsupportsCommentOnStatement()
{
returntrue;
}
/**
* Whether the platform prefers sequences for ID generation.
*
* @return boolean
* {@inheritDoc}
*/
publicfunctionprefersSequences()
{
...
...
@@ -197,6 +176,9 @@ class PostgreSqlPlatform extends AbstractPlatform
FROM pg_tables WHERE schemaname NOT LIKE 'pg_%' AND schemaname != 'information_schema' AND tablename != 'geometry_columns' AND tablename != 'spatial_ref_sys'";
}
/**
* {@inheritDoc}
*/
publicfunctiongetListViewsSQL($database)
{
return'SELECT viewname, definition FROM pg_views';
...
...
@@ -241,10 +223,10 @@ class PostgreSqlPlatform extends AbstractPlatform