Re: pg_receivexlog: spurious error message connecting to 9.3
От | Marco Nenciarini |
---|---|
Тема | Re: pg_receivexlog: spurious error message connecting to 9.3 |
Дата | |
Msg-id | 564A1ED7.9010509@2ndquadrant.it обсуждение исходный текст |
Ответ на | Re: pg_receivexlog: spurious error message connecting to 9.3 (Craig Ringer <craig@2ndquadrant.com>) |
Список | pgsql-hackers |
On 10/11/15 07:35, Craig Ringer wrote: > 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. > I've added it to the next commit fest to keep track of it. I've also set Craig as reviewer, as he has already sent a reviewfor it (and it's a really simple patch). Thanks, Marco -- Marco Nenciarini - 2ndQuadrant Italy PostgreSQL Training, Services and Support marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it
В списке pgsql-hackers по дате отправления: