Re: pg_receivexlog: spurious error message connecting to 9.3
От | Craig Ringer |
---|---|
Тема | Re: pg_receivexlog: spurious error message connecting to 9.3 |
Дата | |
Msg-id | CAMsr+YGN+SkBAnthtfqVvEo7Qh2shDN4Z=mjS1p4JG-rfha8VQ@mail.gmail.com обсуждение исходный текст |
Ответ на | pg_receivexlog: spurious error message connecting to 9.3 (Marco Nenciarini <marco.nenciarini@2ndquadrant.it>) |
Ответы |
Re: pg_receivexlog: spurious error message connecting to
9.3
Re: pg_receivexlog: spurious error message connecting to 9.3 |
Список | pgsql-hackers |
On 10 November 2015 at 01:47, Marco Nenciarini <marco.nenciarini@2ndquadrant.it> wrote: > I've attached a little patch that removes the errors when connected to 9.3. Looks good to me. No point confusing users. The other callers of RunIdentifySystem are pg_basebackup and pg_receivelogical. pg_basebackup doesn't ask for the db_name (passes null). pg_receivelogical handles it being null already (and if it didn't, it'd die with or without this patch). pg_receivexlog expects it to be null and fails gracefully if it isn't. So this change just removes some pointless noise. -- Craig Ringer http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: