From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Tim Knowles" <timknowles(at)ametco(dot)co(dot)uk> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can't recreate view from backup |
Date: | 2001-04-06 15:06:30 |
Message-ID: | 25574.986569590@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Tim Knowles" <timknowles(at)ametco(dot)co(dot)uk> writes:
> I have a view which uses 3 subselects (if more info is required I've
> included the my SQL and the view that is created at the end). When I create
> the view the PostgreSQL creates the subselect with two fields (I guess it's
> the group by clause that may be causing this). The view works fine even
> though when I use \d to describe it, it looks like it returns more than one
> field - although it doesn't). However when I use pg_dump to back it up and
> then recreate the db I get an error that the subselect must only have one
> field.
This is fixed in 7.1.
Note that the above is by no means the worst of the problems that
grouped views will give you in 7.0.* and before :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | ADBAAMD | 2001-04-06 16:03:40 | Re: Database Name Case Sensitivity |
Previous Message | Patrick Welche | 2001-04-06 15:04:16 | Re: The dreaded readline, again, on OpenBSD |