Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group