On Wednesday, August 29, 2018, saurabh shelar <saurabhshelar5@gmail.com> wrote:As per the document from PG-9.6 it is possible. You cannot use psql variables with -c“ command must be either a command string that is completely parsable by the server (i.e., it contains no psql-specific features), or a single backslash command.”https://www.postgresql.org/docs/10/static/app-psql.htmlDavid J.
As per the document from PG-9.6 it is possible.
command
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных