Re: BUG #7684: pg_dumpall doesn't sort "CREATE SERVER"s options correctly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: timur(dot)luchkin(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7684: pg_dumpall doesn't sort "CREATE SERVER"s options correctly
Date: 2012-11-20 17:33:45
Message-ID: 9656.1353432825@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

timur(dot)luchkin(at)gmail(dot)com writes:
> Looks like pg_dumpall sorts 'create server FOREIGN DATA WRAPPER' options
> (keys) as varchar and not as integer.

AFAIK there's no particular guarantee that they're dumped in any
specific order.

> which causes next error during the load:
> ERROR: Pl/Proxy: partitions must be numbered consecutively
> HINT: next valid partition number is 2

I'd say this is either a bug or a misdesign of pl/proxy. It should not
be expecting that FDW options are stored in any specific physical order.
Suggest reporting it at plproxy-users(at)pgfoundry(dot)org(dot)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David Johnston 2012-11-20 17:36:15 {Not A Bug} RE: BUG #7685: last_value() not consistent throughout window partition
Previous Message wes 2012-11-20 15:27:44 BUG #7685: last_value() not consistent throughout window partition