pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: timur.luchkin@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7684: pg_dumpall doesn't sort "CREATE SERVER"s options correctly
Date: Tue, 20 Nov 2012 12:33:45 -0500
Message-ID: <9656.1353432825@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TapeS-0006vd-1p@wrigleys.postgresql.org>
References: <E1TapeS-0006vd-1p@wrigleys.postgresql.org>

timur.luchkin@gmail.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@pgfoundry.org.

			regards, tom lane




view thread (2+ messages)

Message-ID: <9656.1353432825@sss.pgh.pa.us>
Permalink:  ../9656.1353432825@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9656.1353432825@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, timur.luchkin@gmail.com
  Subject: Re: BUG #7684: pg_dumpall doesn't sort "CREATE SERVER"s options correctly
  In-Reply-To: <9656.1353432825@sss.pgh.pa.us>
  References: <E1TapeS-0006vd-1p@wrigleys.postgresql.org> <9656.1353432825@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox