Open 3n-mb opened 7 years ago
Postgres docs for creating index say, removing other things:
CREATE INDEX [ name ] ON table_name [ USING method ] ( { column_name } , ... )
i.e. clause USING should be between table name and column names.
USING
But example from tests shows that clause is not placed between table name and column names.
When query, like in a test is given to Postgres, error is thrown: error: syntax error at or near "USING" with code: '42601'
error: syntax error at or near "USING"
code: '42601'
Postgres docs for creating index say, removing other things:
i.e. clause
USING
should be between table name and column names.But example from tests shows that clause is not placed between table name and column names.
When query, like in a test is given to Postgres, error is thrown:
error: syntax error at or near "USING"
withcode: '42601'