Hiroshi Inoue <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>> Could you use CTID instead of OID?
> I am using both.
> TIDs for fast access and OIDs for identification.
> Unfortunately TIDs are transient and they aren't
> that reliable as for identification.
Hmm ... within a transaction I think they'd be reliable enough,
but for long-term ID I agree they're not. What behavior do you
need exactly; do you need to be able to find the updated version
of a row you originally inserted? What would it take to use a
user-defined primary key instead of OID?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- [HACKERS] Re: OID wraparound (was Re: pg_depend) Alessio Bragadini
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Hiroshi Inoue
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Lamar Owen
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Ashley Cambrell
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Philip Warner
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Hiroshi Inoue
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Hiroshi Inoue
- RE: OID wraparound (was Re: [HACKERS] pg_depend) Mikheev, Vadim
- Re: OID wraparound (was Re: [HACKERS] pg_depend) J-P Guy
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Bruce Momjian
