| From: | "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> |
|---|---|
| To: | Postgres Hackers List <hackers(at)postgresql(dot)org> |
| Subject: | OID min/max functions |
| Date: | 1998-12-09 05:11:35 |
| Message-ID: | 366E0686.4D25B4F4@alumni.caltech.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I noticed that there was an item in the TODO about min/max for OIDs.
Thought that maybe the new type coersion stuff would take care of it by
converting OID to int4. It probably did, but something else is unhappy:
postgres=> select min(oid) from t;
pqReadData() -- backend closed the channel unexpectedly.
postgres=> select min(x) from t;
min
---
a
(1 row)
postgres=> select int4(oid) from t;
?column?
--------
18570
18571
18572
144716
(4 rows)
postgres=> select min(int4(oid)) from t;
pqReadData() -- backend closed the channel unexpectedly.
Oh well. I'll put it on my list of things to look at...
- Tom
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1998-12-09 06:23:07 | Re: [HACKERS] isnull() or is it?t |
| Previous Message | Thomas G. Lockhart | 1998-12-09 05:01:55 | Re: [HACKERS] isnull() or is it?t |