On Thu, Mar 23, 2017 at 9:59 PM, Peter Eisentraut <pete...@gmx.net> wrote:
> Logical replication support for initial data copy
+ case T_SQLCmd:
+ if (MyDatabaseId == InvalidOid)
+ (errmsg("not connected to database")));
This error message doesn't seem to follow the error message style in docs.
Also It seems a bit unclear to me. So what about replacing it with
something like the following?
ERROR: must connect to database to execute command \"%s\"
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: