From: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christophe Pettus <christophe(dot)pettus(at)pgexperts(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org, "David E(dot) Wheeler" <david(at)justatheory(dot)com> |
Subject: | Re: [BUGS] BUG #14825: enum type: unsafe use? |
Date: | 2017-09-25 14:55:58 |
Message-ID: | 5f4f29bf-90b1-e49a-6cf9-069c59bc1067@2ndQuadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On 09/25/2017 10:42 AM, Tom Lane wrote:
> Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> writes:
>> On 09/25/2017 10:14 AM, Tom Lane wrote:
>>> Oh ... I did not think we were on the same page, because your patch
>>> didn't include removal of the same-transaction heuristic. It'd be
>>> sensible to do that as a separate patch, though, to make it easier
>>> to put back if we decide we do want it.
>> I understood you to say that the blacklist patch was all we needed to do
>> for v10. That's my position, i.e. I think we can live with the heuristic
>> test for now if the blacklist patch is applied. Maybe we need to
>> document that the heuristic test can generate some false negatives when
>> testing for a type that is created in the current transaction.
> No, as I said upthread, I want the heuristic out of there. I think the
> blacklist idea covers enough use-cases that we possibly don't need the
> same-transaction test at all. Furthermore I'm doubtful that the heuristic
> form of the same-transaction test is adequate to satisfy the use-cases
> that the blacklist test doesn't cover. So I think we should remove that
> test and see whether we get any complaints, and if so what the details of
> the real-world use-cases look like.
>
>
Let's ask a couple of users who I think are or have been actually
hurting on this point. Christophe and David, any opinions?
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-09-25 16:14:18 | Re: Re: BUG #14785: Logical replication does not work after adding a column. Bug? |
Previous Message | Tom Lane | 2017-09-25 14:42:59 | Re: BUG #14825: enum type: unsafe use? |
From | Date | Subject | |
---|---|---|---|
Next Message | chenhj | 2017-09-25 15:26:58 | Re: [PATCH]make pg_rewind to not copy useless WAL files |
Previous Message | Claudio Freire | 2017-09-25 14:48:45 | Re: Small improvement to compactify_tuples |