pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Edwards <bob@cs.anu.edu.au>
To: pgsql-sql@postgresql.org
Subject: Re: Insane behaviour in 8.3.3
Date: Fri, 15 Jun 2012 17:23:43 +1000
Message-ID: <4FDAE2FF.4080004@cs.anu.edu.au> (raw)
In-Reply-To: <201206141139.35601.achill@matrix.gatewaynet.com>
References: <201206141139.35601.achill@matrix.gatewaynet.com>

On 14/06/12 18:39, Achilleas Mantzios wrote:

> dynacom=# SELECT id from items_tmp WHERE id=1261319 AND xid=currval('xadmin_xid_seq');
>   id
> ----
> (0 rows)
> dynacom=# -- THIS IS INSANE

Have you tried:

SELECT id from items_tmp WHERE id=1261319 AND 
xid=currval('xadmin_xid_seq'::text)

or even:

SELECT id from items_tmp WHERE id=1261319 AND 
xid=currval(('xadmin_xid_seq'::text)::regclass)

Bob Edwards.



view thread (24+ messages)  latest in thread

Message-ID: <4FDAE2FF.4080004@cs.anu.edu.au>
Permalink:  ../4FDAE2FF.4080004@cs.anu.edu.au/
Also on:    postgresql.org/message-id/4FDAE2FF.4080004@cs.anu.edu.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bob@cs.anu.edu.au
  Subject: Re: Insane behaviour in 8.3.3
  In-Reply-To: <4FDAE2FF.4080004@cs.anu.edu.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox