From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Steve Singer <steve(at)ssinger(dot)info> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: logical changeset generation v6.2 |
Date: | 2013-10-03 20:00:29 |
Message-ID: | 20131003200029.GI19661@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2013-10-03 13:03:07 -0400, Steve Singer wrote:
> On 10/03/2013 12:38 PM, Andres Freund wrote:
> >Does your code use SELECT FOR UPDATE/SHARE on system or treat_as_catalog
> >tables? Greetings, Andres Freund
>
> Yes.
> It declares sl_table and sl_sequence and sl_set as catalog.
>
> It does a
> SELECT ......
> from @NAMESPACE(at)(dot)sl_table T, @NAMESPACE(at)(dot)sl_set S,
> "pg_catalog".pg_class PGC, "pg_catalog".pg_namespace PGN,
> "pg_catalog".pg_index PGX, "pg_catalog".pg_class PGXC
> where ... for update
>
> in the code being executed by the 'set add table'.
>
> (We also do select for update commands in many other places during cluster
> configuration commands)
Ok, there were a couple of bugs because I thought mxacts wouldn't need
to be supported. So far your testcase doesn't crash the database
anymore - it spews some internal errors though, so I am not sure if it's
entirely fixed for you.
Thanks for testing and helping!
I've pushed the changes to the git tree, they aren't squashed yet and
there's some further outstanding stuff, so I won't repost the series yet.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2013-10-03 20:06:46 | Re: ToDo: fast update of arrays with fixed length fields for PL/pgSQL |
Previous Message | Robert Haas | 2013-10-03 19:22:22 | Re: review: psql and pset without any arguments |