Re: BUG #18923: pg_dump 18beta1 fails to process complex table names

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: phb.emaj@free.fr
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-05-12T13:51:39Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> I have just run the E-Maj project regression test suite with PG18 beta1 and
> found a pg_dump abort when trying to dump a schema prefixed table having a
> complex name including single quote, double quote and space.

Thanks for the report!  Looks like fetchAttributeStats() is completely
misguided about the appropriate quoting rules for array elements.

			regards, tom lane



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. pg_dump: Fix array literals in fetchAttributeStats().