Re: BUG #18923: pg_dump 18beta1 fails to process complex table names - Mailing list pgsql-bugs

From Corey Huinker
Subject Re: BUG #18923: pg_dump 18beta1 fails to process complex table names
Date
Msg-id CADkLM=cXU-D5THyW2k1bfuQtb0XVBip7WVa88aFY_FH5jv58oQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18923: pg_dump 18beta1 fails to process complex table names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs

My first instinct is that we need to build the array with appendPGArray()
and then append it to the query using appendStringLiteralAH(), as done in
the attached patch.

This patch looks good to me, though I'm wondering if we should add a test case.
 

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres: Queries are too slow after upgrading to PG17 from PG15
Next
From: Tom Lane
Date:
Subject: Re: BUG #18923: pg_dump 18beta1 fails to process complex table names