pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Restore erroneously removed ONLY from PK check
3+ messages / 3 participants
[nested] [flat]
* pgsql: Restore erroneously removed ONLY from PK check
@ 2018-04-04 19:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-04-04 19:41 ` Re: pgsql: Restore erroneously removed ONLY from PK check Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 3+ messages in thread
From: Alvaro Herrera @ 2018-04-04 19:38 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Restore erroneously removed ONLY from PK check
This is a blind fix, since I don't have SE-Linux to verify it.
Per unwanted change in rhinoceros, running sepgsql tests. Noted by Tom
Lane.
Discussion: https://postgr.es/m/32347.1522865050@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7d7c99790b2a7e6f4e5287a3fb29f73cedbb2105
Modified Files
--------------
src/backend/utils/adt/ri_triggers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Restore erroneously removed ONLY from PK check
2018-04-04 19:38 pgsql: Restore erroneously removed ONLY from PK check Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2018-04-04 19:41 ` Andres Freund <andres@anarazel.de>
2018-04-04 19:47 ` Re: pgsql: Restore erroneously removed ONLY from PK check Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Andres Freund @ 2018-04-04 19:41 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: pgsql-committers@lists.postgresql.org
On 2018-04-04 19:38:57 +0000, Alvaro Herrera wrote:
> Restore erroneously removed ONLY from PK check
>
> This is a blind fix, since I don't have SE-Linux to verify it.
>
> Per unwanted change in rhinoceros, running sepgsql tests. Noted by Tom
> Lane.
>
> Discussion: https://postgr.es/m/32347.1522865050@sss.pgh.pa.us
>
> Branch
> ------
> master
Shouldn't the difference due to the ONLY be visible in cases with
inheritance? As in, spuriously succeeding or such? Seems like
something that a normal regression test would be good for?
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Restore erroneously removed ONLY from PK check
2018-04-04 19:38 pgsql: Restore erroneously removed ONLY from PK check Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-04-04 19:41 ` Re: pgsql: Restore erroneously removed ONLY from PK check Andres Freund <andres@anarazel.de>
@ 2018-04-04 19:47 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2018-04-04 19:47 UTC (permalink / raw)
To: Andres Freund <andres@anarazel.de>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-committers@lists.postgresql.org
Andres Freund <andres@anarazel.de> writes:
> Shouldn't the difference due to the ONLY be visible in cases with
> inheritance? As in, spuriously succeeding or such? Seems like
> something that a normal regression test would be good for?
Yeah, if it actually matters (which I think it does), it shouldn't be hard
to devise a regression test that shows a behavioral difference.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-04-04 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 19:38 pgsql: Restore erroneously removed ONLY from PK check Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-04-04 19:41 ` Andres Freund <andres@anarazel.de>
2018-04-04 19:47 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox