From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Christophe Pettus <christophe(dot)pettus(at)pgexperts(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] [BUGS] BUG #14825: enum type: unsafe use? |
Date: | 2018-09-08 16:01:09 |
Message-ID: | CAEepm=3-onOuhYDqjNXX+3keh689A-dtMxUgjnwnFZPu_hNShA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On Thu, Jan 11, 2018 at 3:01 PM Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> So I agree with Tom's suggestion:
>
> On Wed, Oct 4, 2017 at 2:29 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Perhaps serialize the contents into an array in DSM, then rebuild a hash
> > table from that in the worker. Robert might have a better idea though.
>
> I'd happily volunteer to write or review a patch to do that. Is there
> a rebase of the stuff that got reverted, to build on?
Here is a draft patch showing the approach discussed for transmitting
enum_blacklist in parallel workers. This should be useful for
reviving the code reverted by 93a1af0b.
--
Thomas Munro
http://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
serialize-enum-blacklist.patch | application/x-patch | 5.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2018-09-08 17:24:17 | BUG #15373: null / utf-8 |
Previous Message | Andrew Gierth | 2018-09-08 13:22:22 | Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2018-09-08 16:10:59 | Re: RULE does not like the NOT EXISTS condition |
Previous Message | Szima Gábor | 2018-09-08 15:20:15 | RULE does not like the NOT EXISTS condition |