Re: Problems with dump /restore of views - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: Problems with dump /restore of views
Date
Msg-id 3D135820.797AE633@Yahoo.com
Whole thread Raw
In response to Problems with dump /restore of views  (Rod Taylor <rbt@zort.ca>)
List pgsql-hackers
Rod Taylor wrote:
> 
> For some reason a view with a select distinct, an order and an exception
> by will cause pg_dump to output a double order by -- one for each select
> which of course is bad SQL.

I think views should not have ORDER BY clauses at all in the first
place. 


Jan

-- 

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problems with dump /restore of views
Next
From: Tom Lane
Date:
Subject: Re: Adding encrypted identd authetification