pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Cousin <mcousin@sigma.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: cannot restore a view after a dump
Date: Tue, 22 Apr 2008 11:45:02 +0200
Message-ID: <200804221145.02383.mcousin@sigma.fr> (raw)
In-Reply-To: <18480.1207954866@sss.pgh.pa.us>
References: <200804041022.31746.mcousin@sigma.fr>
	<18480.1207954866@sss.pgh.pa.us>

I've installed it and it works. Thanks a lot.

On Saturday 12 April 2008 01:01:06 Tom Lane wrote:
> Marc Cousin <mcousin@sigma.fr> writes:
> > I'm having a strange problem : I created a view in a database, and I
> > cannot restore it after a pg_dump. ...
> > ERROR:  for SELECT DISTINCT, ORDER BY expressions must appear in select
> > list
>
> You need this patch:
>
> http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayf
>uncs.c?r1=1.140&r2=1.140.2.1
>
> I found that this problem was introduced in 8.2, which may explain why
> you'd not seen it before, if you were previously using an older release.
>
> 			regards, tom lane





view thread (7+ messages)

Message-ID: <200804221145.02383.mcousin@sigma.fr>
Permalink:  ../200804221145.02383.mcousin@sigma.fr/
Also on:    postgresql.org/message-id/200804221145.02383.mcousin@sigma.fr

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mcousin@sigma.fr, tgl@sss.pgh.pa.us
  Subject: Re: cannot restore a view after a dump
  In-Reply-To: <200804221145.02383.mcousin@sigma.fr>

* 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