Create publication is not working in PostgreSQL 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;
As JJanes mentioned, Publication is available from Version 10.
I was using version 9.6.