Re: BLOB and OID - Mailing list pgsql-general

From vishal saberwal
Subject Re: BLOB and OID
Date
Msg-id 3e74dc250511041127y4f69c0a1w86c2023a13c8f213@mail.gmail.com
Whole thread Raw
In response to BLOB and OID  ("Lolke B. Dijkstra" <lolke.dijkstra@chello.nl>)
List pgsql-general
yes, there is one, but i dont know how would you modify the PostgreSQL code.

You can implement a GUID datatype and can use it as indexing which guarantees uniqueness and can be stored in double format.

thanks,
vish

On 11/4/05, Lolke B. Dijkstra <lolke.dijkstra@chello.nl> wrote:
Hi,

OID being a 4 byte int seems limited to indexing for binary objects.
More precisely I use BLOB to store images in the database and link these
objects to another table using the OID as FK.
If I run out of OID there will be no way to index new images. Of course
when not automatically creating OID for all objects in the database you
will not easily run out of index values, but still..
Is there an alternative way of indexing BLOB? Or can I extend the range
of OID?

Lolke

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

pgsql-general by date:

Previous
From: Robert Ftizpatrick
Date:
Subject: Re: Division
Next
From: Eliézer Madeira de Campos
Date:
Subject: Missing seconds in a date (timestamp)