Re: BUG #19365: postgres 18 pg_dump fails whan drop sequence concurrently

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pavel(dot)tyslacki(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19365: postgres 18 pg_dump fails whan drop sequence concurrently
Date: 2025-12-29 17:28:07
Message-ID: 2886168.1767029287@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> In postgres 18, I started getting random errors from `pg_dump`:
> pg_dump: error: query failed: ERROR: could not open relation with OID 16741
> pg_dump: detail: Query was: SELECT seqrelid, format_type(seqtypid, NULL),
> seqstart, seqincrement, seqmax, seqmin, seqcache, seqcycle, last_value,
> is_called FROM pg_catalog.pg_sequence, pg_get_sequence_data(seqrelid) ORDER
> BY seqrelid;

Thanks for the report. I posted an analysis here:

https://www.postgresql.org/message-id/2885944.1767029161%40sss.pgh.pa.us

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Japin Li 2025-12-30 02:30:24 Re: BUG #19367: typos in backend/utils/adt/timestamp.c
Previous Message Tom Lane 2025-12-29 15:37:39 Re: BUG #19367: typos in backend/utils/adt/timestamp.c