Re: Looks heap_create_with_catalog ignored the if_not_exists options

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Looks heap_create_with_catalog ignored the if_not_exists options
Date: 2019-03-02 10:44:39
Message-ID: 20190302104439.GC1602@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 02, 2019 at 12:15:19AM +0800, Andy Fan wrote:
> Looks we need some locking there, but since PG is processes model, I even
> don't know how to sync some code among processes in PG (any hint on this
> will be pretty good as well).

No, you shouldn't need any kind of extra locking here.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Banck 2019-03-02 10:45:48 Re: Online verification of checksums
Previous Message Michael Paquier 2019-03-02 09:21:54 Re: pg_partition_tree crashes for a non-defined relation