X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A8A8111F624C for ; Thu, 27 Apr 2006 05:06:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 77190-06 for ; Thu, 27 Apr 2006 05:06:35 -0300 (ADT) X-Greylist: delayed 00:31:35.710671 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 30BBC11F60E3 for ; Thu, 27 Apr 2006 05:06:34 -0300 (ADT) Received: from mail.qualitype.de (ip-217-18-178-110.reverse.dsi.net [217.18.178.110]) by svr4.postgresql.org (Postfix) with ESMTP id 0799C5B1E3C for ; Thu, 27 Apr 2006 07:34:57 +0000 (GMT) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Postgres 8.1 sequences and 'CALL'-syntax X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Thu, 27 Apr 2006 09:34:53 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Postgres 8.1 sequences and 'CALL'-syntax Thread-Index: AcZpzRLOPw4CHkY4R6KB12hm5BdljA== From: "Schnabl, Sebastian" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/186 X-Sequence-Number: 24995 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 ______________________________________________________________=20 Sebastian Schnabl =A0Qualitype AG =A0Quality Assurance Systems |Bioinformatics =A0Moritzburger Weg 67 | 01109 Dresden =A0fon +49.351.8838 0 | fax +49.351.8838 2809 =A0http://www.qualitype.de=20 ______________________________________________________________