I am trying to create a publication (for logical replication) in PostgreSQL database but it throws an error:
indsolv_dev=# CREATE PUBLICATION my_publication;
ERROR: syntax error at or near "PUBLICATION"
LINE 1: CREATE PUBLICATION my_publication;
backuppostgresqlreplication
I am trying to create a publication (for logical replication) in PostgreSQL database but it throws an error:
indsolv_dev=# CREATE PUBLICATION my_publication;
ERROR: syntax error at or near "PUBLICATION"
LINE 1: CREATE PUBLICATION my_publication;
Best Answer
As JJanes mentioned, Publication is available from Version 10. I was using version 9.6.