Re: cannot restore a view after a dump

From: Marc Cousin <mcousin(at)sigma(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: cannot restore a view after a dump
Date: 2008-04-22 09:45:02
Message-ID: 200804221145.02383.mcousin@sigma.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

On Saturday 12 April 2008 01:01:06 Tom Lane wrote:
> Marc Cousin <mcousin(at)sigma(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2008-04-22 10:27:26 Re: FATAL: could not open relation xxx: No such file or directory
Previous Message Mikko Partio 2008-04-22 09:36:36 Re: FATAL: could not open relation xxx: No such file or directory