Re: problem with casts dump/restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem with casts dump/restore
Date: 2005-01-11 20:04:38
Message-ID: 3663.1105473878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2005-01-11 20:15:41 PostgreSQL 8.0.0 Release Candidate 5
Previous Message Andrew Dunstan 2005-01-11 19:44:24 buildfarm switching servers