Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION

From: Paul Foerster <paul(dot)foerster(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION
Date: 2024-11-26 19:02:33
Message-ID: DCCB9653-F185-454B-8B15-DE3997DA8AF8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Adrian,

> On 26 Nov 2024, at 17:56, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
> Did you commit the statements?

Yes. I have autocommit on, the psql default.

> Are you using concurrent sessions to do this?

No. I do this in one session. 1. select, 2. drop, 3. add, 4. select.

> When you run the query again do you get the same two statements?

Yes. I can repeat the above 4 steps as much as I want. The result remains the same. I would have expected to have an empty result doing the final repeated select, but it shows exactly the same output.

Cheers,
Paul

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-11-26 21:25:32 Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION
Previous Message Adrian Klaver 2024-11-26 16:56:20 Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION