Re: [HACKERS] ODMG interface - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: [HACKERS] ODMG interface
Date
Msg-id 37357984.AC6DA7FA@bigfoot.com
Whole thread Raw
In response to Re: [HACKERS] ODMG interface  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] ODMG interface
List pgsql-hackers
> until you get back the row.
> 
> I would propose a pseudo column (or funtion) so that one could do:
> 
> select rowrelname() as class_name, * from person*;
> 
> and then work from there on.

Basicly that's what I want to implement, except that instead of
returning the relname() I think the rel_classoid (oid of pg_class) is a
better choice. Then obtaining the relname a simple join with pg_class.

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 6.5 beta and ORDER BY patch
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] char(n) default '' crashes server