Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for covering index (INCLUDE) on PG producer #131

Merged
merged 7 commits into from Aug 9, 2021
Merged
8 changes: 4 additions & 4 deletions lib/SQL/Translator/Parser/PostgreSQL.pm
Expand Up @@ -15,10 +15,10 @@ SQL::Translator::Parser::PostgreSQL - parser for PostgreSQL
=head1 DESCRIPTION

The grammar was started from the MySQL parsers. Here is the description
from PostgreSQL:
from PostgreSQL, truncated to what's currently supported (patches welcome, of course) :

Table:
(http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=sql-createtable.html)
(http://www.postgresql.org/docs/current/sql-createtable.html)

CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name (
{ column_name data_type [ DEFAULT default_expr ]
Expand Down Expand Up @@ -52,7 +52,7 @@ Table:
[ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]

Index :
(http://www.postgresql.org/docs/11/sql-createindex.html)
(http://www.postgresql.org/docs/current/sql-createindex.html)

CREATE [ UNIQUE ] INDEX index_name ON table
[ USING acc_method ] ( column [ ops_name ] [, ...] )
Expand Down Expand Up @@ -81,7 +81,7 @@ Alter table:
ALTER TABLE table
OWNER TO new_owner

View table:
View :

CREATE [ OR REPLACE ] VIEW view [ ( column name list ) ] AS SELECT query

Expand Down