From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | "Higuchi, Daisuke" <higuchi(dot)daisuke(at)jp(dot)fujitsu(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [Bug fix]If recovery.conf has target_session_attrs=read-write, the standby fails to start. |
Date: | 2017-05-20 00:49:00 |
Message-ID: | 22755.1495241340@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> Do you think that it would be better to list the letter list for each
> keyword in repl_scanner.l or have something more generic? As not that
> many commands are added in the replication protocol, I would think
> that this is more than enough for each command, say:
> [Ss][Ll][Oo][Tt] { return K_SLOT; }
> etc.
Yeah, that's probably good enough. It might be worth the trouble to
make out-of-line definitions, as in cubescan.l's handling of NaN and
Infinity for instance, but that's just cosmetic.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2017-05-20 01:59:43 | Re: Regression in join selectivity estimations when using foreign keys |
Previous Message | Michael Paquier | 2017-05-20 00:27:54 | Re: [Bug fix]If recovery.conf has target_session_attrs=read-write, the standby fails to start. |