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

   ## Summary
   
   - Parses `CREATE PUBLICATION name FOR TABLE schema.t [, ...]` (pgmold-101)
   - Parses `CREATE PUBLICATION name FOR ALL TABLES` (pgmold-101)
   - Parses `CREATE PUBLICATION name FOR TABLES IN SCHEMA s [, ...]` 
(pgmold-101)
   - Parses `CREATE SUBSCRIPTION name CONNECTION 'conninfo' PUBLICATION pub [, 
...] [ WITH (...) ]` (pgmold-102)
   - Optional `WITH (key = value, ...)` clause supported on both statements
   
   ## New types
   
   - `PublicationTarget` enum — models the three FOR variants as a distinct 
enum (AllTables, Tables, TablesInSchema)
   - `CreatePublication` struct — name, optional target, with_options
   - `CreateSubscription` struct — name, connection string (Value), 
publications list, with_options
   
   ## Keywords added
   
   `PUBLICATION`, `SUBSCRIPTION`
   
   ## Notes
   
   Fork CI does not run automatically; correctness is covered by inline 
round-trip tests in `tests/sqlparser_postgres.rs` (6 tests: 4 for publication 
variants, 2 for subscription variants).
   
   Closes pgmold-101, pgmold-102.


-- 
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