You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publication creation doesn't support specifying columns for which publication should be created -
example SQL - CREATE PUBLICATION users_filtered FOR TABLE users (user_id, firstname)
Right now if I pass as a table name users (user_id, firstname) it will quote the whole thing, which ends up as invalid SQL
ISSUE TYPE
Missing functionality
COMPONENT NAME
community.postgresql.postgresql_publication
ADDITIONAL INFORMATION
It should allow to set-up publication with a limited column set - since it is possible in Postgres >= 15
Specs could look like this:
tables:
- "public"."users" (user_id, firstname)
or
tables:
- users:
- user_id
- firstname
The text was updated successfully, but these errors were encountered:
* Add initial code for creating publication with specified columns
* Add integration test
* Refactor and fix publication with columns
* Add more test for publication with columns
* Code clean-up
* Add changelog fragment
* Ensure that test assertion for publication with columns are run on postgres 15 or newer
* Update changelogs fragment
Co-authored-by: Andrew Klychkov <[email protected]>
* Add missing check for postgresql version
---------
Co-authored-by: Andrew Klychkov <[email protected]>
SUMMARY
Publication creation doesn't support specifying columns for which publication should be created -
example SQL -
CREATE PUBLICATION users_filtered FOR TABLE users (user_id, firstname)
Right now if I pass as a table name
users (user_id, firstname)
it will quote the whole thing, which ends up as invalid SQLISSUE TYPE
COMPONENT NAME
community.postgresql.postgresql_publication
ADDITIONAL INFORMATION
It should allow to set-up publication with a limited column set - since it is possible in Postgres >= 15
Specs could look like this:
or
The text was updated successfully, but these errors were encountered: