| From: | Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: record OID to table |
| Date: | 2006-03-04 11:30:05 |
| Message-ID: | 20060304113005.GA6866@merkur.hilbert.loc |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rolf stvik | 2006-03-04 12:25:41 | Re: Quick psqlODBC driver setting |
| Previous Message | Dave Page | 2006-03-04 10:03:33 | Re: problem with windows xp sp2 and postgres-8.1.3 |