From: Schnabl, Sebastian <s.schnabl@qualitype.de>
To: pgsql-sql@postgresql.org
Subject: Postgres 8.1 sequences and 'CALL'-syntax
Date: Thu, 27 Apr 2006 09:34:53 +0200
Message-ID: <CE99C61B73E843438E690CBE9C63A5AF732375@srv02.dresden.local> (raw)
Hello,
I use postgres 8.1 and trie to run jboss over sequoia-ha (http://sequoia.continuent.org/HomePage). But i have an problem with sequences. Sequoia claims to support for good reasons and db-independece only "sql-standard(s)". Therefore they DON'T support the postgres-specific "select nextval('seq_name')". Instead they gave me the hint to use the sql-conform "call nexval('seq_name')".
But unfortunately i always get only an syntax error on "call" from jdbc-driver or specially postgres as result.
How can i use sequences in conjunction with "call"-syntax??
Thx in advance
______________________________________________________________
Sebastian Schnabl
Qualitype AG
Quality Assurance Systems |Bioinformatics
Moritzburger Weg 67 | 01109 Dresden
fon +49.351.8838 0 | fax +49.351.8838 2809
http://www.qualitype.de
______________________________________________________________
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: s.schnabl@qualitype.de
Subject: Re: Postgres 8.1 sequences and 'CALL'-syntax
In-Reply-To: <CE99C61B73E843438E690CBE9C63A5AF732375@srv02.dresden.local>
References: <CE99C61B73E843438E690CBE9C63A5AF732375@srv02.dresden.local>
* 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