Re: Index on substring?

From: M(dot)Feldtmann(at)t-online(dot)de (Marten Feldtmann)
To: Jeff Eckermann <jeckermann(at)verio(dot)net>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Index on substring?
Date: 2000-10-24 19:12:01
Message-ID: 39F5DF01.AF14943@toppoint.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Eckermann schrieb:
>
> Tom,
> Thanks very much for your full and clear answer.
> It's hard to imagine a general use for this facility, anyway.
> For me this is a one-off exercise, albeit a big one.
> Regards
>

There're commercial OO persistance frameworks out there, which create
there own OID's (actually they consists out of three numbers) all these
numbers are converted to base 36 and concatenated to a string with size
15.

One part of this string is a class number of the instance you
have just loaded. Therefore if you look for instances of a
special class you may query a substring of this OID ....

Just as an practical usage ....

Marten

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oelkers, Phil 2000-10-24 20:18:18 ok after months of freedom I'm suddenly back on the damn list aga in
Previous Message Frank Miles 2000-10-24 18:56:10 newbie debugging pl/pgsql : better way?