This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
SET CONNECTION -- select a database connection
SET CONNECTION [ TO | = ] connection_name
SET CONNECTION sets the "current" database connection, which is the one that all commands use unless overridden.
A database connection name established by the CONNECT command.
Set the connection to the default connection.
EXEC SQL SET CONNECTION TO con2;
EXEC SQL SET CONNECTION = con1;
SET CONNECTION is specified in the SQL standard.