Re: record OID to table - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: record OID to table
Date
Msg-id 20060304113005.GA6866@merkur.hilbert.loc
Whole thread Raw
In response to Re: record OID to table  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
On Fri, Mar 03, 2006 at 09:01:53PM -0700, Michael Fuhr wrote:

> Could you explain what you're trying to do without reference to how
> you're trying to do it?  It sounds like the goal is to take an
> arbitrary string and find out what rows in what tables contain that
> string.  Is that right?  If so them I'm not sure how to best solve
> that problem; maybe somebody else will have some ideas.
If it happens to be one text field per table it can be
solved with inheritance. Inherit the text field from a
parent table and search through that eventually deducing the
appropriate child table with tableoid where needed.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: problem with windows xp sp2 and postgres-8.1.3
Next
From: "Rolf Østvik"
Date:
Subject: Re: Quick psqlODBC driver setting