Re: bug with distinct?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alfonso Peniche <alfonso(at)iteso(dot)mx>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: bug with distinct?
Date: 2001-02-10 01:17:19
Message-ID: Pine.LNX.4.30.0102100216530.1286-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alfonso Peniche writes:

> SELECT distinct 'mod_type' ,currval('mytable_idmytable_seq') from
> mytable;
>
> and I get the message:
>
> ERROR: Unable to identify an ordering operator '<' for type 'unknown'
> Use an explicit ordering operator or modify the query

Use 'mod_type'::text.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-02-10 01:23:23 Re: bug with distinct?
Previous Message George Johnson 2001-02-10 01:16:25 two cents