Re: [HACKERS] ODMG interface

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] ODMG interface
Date: 1999-05-09 12:03:16
Message-ID: 37357984.AC6DA7FA@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)bitmead(at)bigfoot(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-05-09 13:02:51 Re: [HACKERS] char(n) default '' crashes server
Previous Message Bruce Momjian 1999-05-09 11:55:33 Re: [HACKERS] 6.5 beta and ORDER BY patch