Re: Bug in CVS pg_dump against 7.0.x - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Re: Bug in CVS pg_dump against 7.0.x
Date
Msg-id 40AAD972.1080701@familyhealth.com.au
Whole thread Raw
In response to Re: Bug in CVS pg_dump against 7.0.x  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
>>It's not a problem, since that code path is only ever executed when
>>dumping a 7.0 backend.  It's in the MyFormatType function in pg_dump.c
>>that is used whenever the backend doesn't have its own format_type function.
>
> Right.  The patch looked dangerous to me too, until I understood the
> context.  As-is, I think it's fine -- indeed, I think we ought to
> backpatch it into 7.4 branch too.

Strangely enough, the 7.0.x pg_dump.c does just dump arrays as bpchar_
type, but the 7.0.x psql utility displays them as character varying[]

Chris

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug in CVS pg_dump against 7.0.x
Next
From: Tom Lane
Date:
Subject: Re: PITR Phase 1 - partial backport to 7.3.4, 7.3.5