Re: [COMMITTERS] pgsql: Logical replication support for initial data copy

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: [COMMITTERS] pgsql: Logical replication support for initial data copy
Дата
Msg-id CAHGQGwHtFDdu7ZStgg1UNB0vxzDt49nEjjkn85ODUiM1EyN7CQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
On Thu, Mar 23, 2017 at 9:59 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Logical replication support for initial data copy

+ case T_SQLCmd:
+ if (MyDatabaseId == InvalidOid)
+ ereport(ERROR,
+ (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\"

Regards,

-- 
Fujii Masao



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch: Write Amplification Reduction Method (WARM)
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: PATCH: Batch/pipelining support for libpq