Skip site navigation (1) Skip section navigation (2)

Re: Bug in CVS pg_dump against 7.0.x

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PG Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Bug in CVS pg_dump against 7.0.x
Date: 2004-05-17 04:26:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
> Duh, sorry.  Got confused.  I though you weren't the submitter, for some
> strange reason.   Anyway, I see this in the code:
>>>+     /* Handle array types */
>>>+     if (typname[0] == '_')
>>>+     {
>>>+             isarray = true;
>>>+             typname++;
>>>+     }
> Do we know that is always true?  What is the issue that 7.0 needs this
> and newer released don't, and how are we sure this will not break some
> strange cases in post-7.0 releases?

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.


In response to


pgsql-patches by date

Next:From: Потеряев =?koi8-r?b?IOku5S4=?=Date: 2004-05-17 06:34:36
Subject: PITR Phase 1 - partial backport to 7.3.4, 7.3.5
Previous:From: Bruce MomjianDate: 2004-05-17 04:04:39
Subject: Re: Bug in CVS pg_dump against 7.0.x

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group