|From:||Alvaro Herrera from 2ndQuadrant <alvherre(at)alvh(dot)no-ip(dot)org>|
|To:||Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>|
|Cc:||"Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dave Cramer <pg(at)fastcrypt(dot)com>, Jing Wang <jingwangian(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>|
|Subject:||Re: Libpq support to connect to standby server as priority|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On 2019-Sep-09, Alvaro Herrera from 2ndQuadrant wrote:
> Question about 0001. In the CONNECTION_SETENV state, you end by falling
> through to the CONNECTION_CHECK_TARGET case; but in that switch it seems
> a bit unnatural to do that. I think doing "goto keep_trying" is another
> way of doing the same thing, but more in line with what every other
> piece of code does.
Appears to work. Pushed like that.
Testing protocol version 2 is difficult! Almost every single test fails
because of error messages being reported differently; and streaming
replication (incl. pg_basebackup) doesn't work at all because it's not
possible to establish replication connections. Manual inspection shows
it behaves correctly.
Remaining patchset attached (per my count it's v13 of your patchset.
Please use "git format-patch -v14" and so on when posting patches). I
stripped the doc change from 0001 (unchanged) because I found it hard to
justify on its own, and it has a couple of grammatical mistakes. I
think we should merge one half of it with each of the other two patches
where the changes are introduced (0003 and 0004). I'm not convinced
that we need 0004-0006 to be separate commits.
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
|Next Message||Alvaro Herrera from 2ndQuadrant||2019-09-10 16:34:17||Re: Useless code in RelationCacheInitializePhase3|
|Previous Message||Tom Lane||2019-09-10 15:06:00||Re: [PATCH] Move user options to the end of the command in pg_upgrade|