Re: [BUGS] BUG #2821: xid cannot be casted to a different type

2006-12-11 Thread Edwin Groothuis
On Sun, Dec 10, 2006 at 03:20:50PM -0500, Tom Lane wrote: > "Edwin Groothuis" <[EMAIL PROTECTED]> writes: > > This statement is part of a longer one, which we used on 8.0 > > to determine the status of the locks on the database: > > > select relation,transaction::bigint,count(*) as waiting

Re: [BUGS] BUG #2821: xid cannot be casted to a different type

2006-12-11 Thread Edwin Groothuis
On Sun, Dec 10, 2006 at 05:47:16PM -0500, Tom Lane wrote: > > Except that there isn't a custom cast... > Better look harder; there's *something* nonstandard about your 8.0 > database. Thanks for the push, I found it: It is part of slony which isn't on the new databases: mail=> select oid,* from p

Re: [BUGS] BUG #2821: xid cannot be casted to a different type

2006-12-10 Thread Stefan Kaltenbrunner
Tom Lane wrote: > Edwin Groothuis <[EMAIL PROTECTED]> writes: >> On Sun, Dec 10, 2006 at 03:20:50PM -0500, Tom Lane wrote: >>> "Edwin Groothuis" <[EMAIL PROTECTED]> writes: This worked fine on 8.0.x. >>> Really? > >> Hmm... We used this script on 8.0.0 to 8.0.6 (which is the current >> databa