Re: [GENERAL] max(oid) - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] max(oid)
Date
Msg-id 200001220429.XAA28444@candle.pha.pa.us
Whole thread Raw
In response to max(oid)  (Marc Tardif <admin@wtbwts.com>)
Responses Re: [GENERAL] max(oid)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
> Is there a way to use the max aggregate on an oid field? When I try on
> 6.5.3, I get the following error message:
>
> test=> select max(uid) from user_base;
> ERROR: Unable to select an aggregate function max(oid)
>
> If there's any work-around, please let me know.
> Marc
>

Added to TODO:

    * allow aggregates on oid


--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Marc Tardif
Date:
Subject: max(oid)
Next
From: Marc Tardif
Date:
Subject: implementing a psql daemon