ramnivas opened a new pull request, #1608:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1608

   Postgres makes skipping the `(referenced-columns)` part in `ALTER TABLE ... 
FOREIGN KEY .. REFERENCES <tablename> (referenced-columns)` per 
https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-PARMS-REFERENCES.
   
   Since the generic SQL grammar requires referenced columns 
(https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#referential-constraint-definition),
 this change applies only to Postgres.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to