![]() You could use a dblink connection back to the current database, which runs outside of the transaction block. Workaround from within Postgres transaction Thus you cannot mix SQL and psql meta-commands within a -c option. \gexec" since \gexec is a psql meta‑command and the -c option expects a single command for which the manual states:Ĭommand 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. The same cannot be called with psql -c "SELECT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |