Re: logical changeset generation v6.2

From: Steve Singer <steve(at)ssinger(dot)info>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: logical changeset generation v6.2
Date: 2013-10-03 17:03:07
Message-ID: BLU0-SMTP7614A81E5926873F990CECDC170@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-10-03 17:21:22 Re: No Index-Only Scan on Partial Index
Previous Message Robert Haas 2013-10-03 16:55:39 Re: plpgsql.print_strict_params