Re: problem with casts dump/restore - Mailing list pgsql-hackers

From Tom Lane
Subject Re: problem with casts dump/restore
Date
Msg-id 3663.1105473878@sss.pgh.pa.us
Whole thread Raw
In response to Re: problem with casts dump/restore  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> The reason why I did that to begin with was to be able to do some
> in-query processing on a xid.  Is it intentional that oid has a built in
> cast to integer and xid does not?

I'm not sure how intentional it is, but doing integer arithmetic on XIDs
seems pretty fraught with peril to me.  The comparison semantics on XIDs
are quite unlike normal integer comparisons.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: buildfarm switching servers
Next
From: "Marc G. Fournier"
Date:
Subject: PostgreSQL 8.0.0 Release Candidate 5