Postgres 8.1 sequences and 'CALL'-syntax

From: "Schnabl, Sebastian" <s(dot)schnabl(at)qualitype(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Postgres 8.1 sequences and 'CALL'-syntax
Date: 2006-04-27 08:00:24
Message-ID: CE99C61B73E843438E690CBE9C63A5AF73237F@srv02.dresden.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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
______________________________________________________________

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-27 08:13:12 Re: Mailing list setup issue
Previous Message Kris Jurka 2006-04-27 07:52:48 Re: Mailing list setup issue