Re: Distinct types - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Distinct types
Date
Msg-id 493017B1.7050604@dunslane.net
Whole thread Raw
In response to Re: Distinct types  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Distinct types  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers

David E. Wheeler wrote:
>
> Speaking of other sorts of derived types: might they include something 
> just like enums, but sorting on the string values defined for the enum 
> rather than on the order in which the values were defined in the enum? 
> I'd use something like that all the time…
>
>

order by foo_enum::text ...

cheers

andrew


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Distinct types
Next
From: Tom Lane
Date:
Subject: Re: Comments to Synchronous replication patch v3