pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacques Gollion <jgollion@sambatechnologies.com>
To: Jaime Casanova <systemguards@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #2139: Problem when calling functions without any
Date: Mon, 09 Jan 2006 13:01:15 +0100
Message-ID: <43C2508B.1F505985@sambatechnologies.com> (raw)
References: <20060103112745.BB6CEF0AC6@svr2.postgresql.org>
	<c2d9e70e0601031247u15248c58g5120634b83da5439@mail.gmail.com>

hello Jaime,

Sorry. I forgot to provide you with the information. Please find the function and
the trace of jdbc calls in the enclosed file.

Thank you in advance for your help.

Jacques

Jaime Casanova a écrit :

> On 1/3/06, Jacques Gollion <jgollion@sambatechnologies.com> wrote:
> >
> > The following bug has been logged online:
> >
> > Bug reference:      2139
> > Logged by:          Jacques Gollion
> > Email address:      jgollion@sambatechnologies.com
> > PostgreSQL version: 8.1.1
> > Operating system:   Windows 2000
> > Description:        Problem when calling functions without any argument
> > Details:
> >
> > have have written some functions without any argument. When my powerbuilder
> > V9 application calls these functions, the behaviour is different :
> >
> > *Using ODBC driver, it works well
> > *Using JDBC driver (I tried several versions), I get the error message
> > "ERROR : Syntax error at or near $1. If I add a unused argument to the
> > function; it works.
> > If I call in JDBC the same function for Oracle or Sybase, it works.
> > If I call other PostGreSQL functions with arguments, it works.
> >
> > Where am I wrong ?
> >
> > Thanks in advance for your help.
> >
>
> and... where is the function? how is defined? how do you use it?
>
> code, please wiyhout that you can't expect any help...
>
> --
> regards,
> Jaime Casanova
> (DBA: DataBase Aniquilator ;)

--
________________________________________________________________________
      Jacques GOLLION            mailto:jgollion@sambatechnologies.com
     SAMBA Technologies          http://www.sambatechnologies.com
  53 chemin du Vieux Chene            Phone : +33 (0) 4 76 04 00 59
  38240  MEYLAN   FRANCE              Fax   : +33 (0) 4 76 04 15 98
________________________________________________________________________

Attachments:

  Information.log (application/x-unknown-content-type-txtfile, 2.1K) download

view thread (4+ messages)  latest in thread

Message-ID: <43C2508B.1F505985@sambatechnologies.com>
Permalink:  ../43C2508B.1F505985@sambatechnologies.com/
Also on:    postgresql.org/message-id/43C2508B.1F505985@sambatechnologies.com

 · 

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 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-jdbc@postgresql.org
  Cc: jgollion@sambatechnologies.com, systemguards@gmail.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #2139: Problem when calling functions without any
  In-Reply-To: <43C2508B.1F505985@sambatechnologies.com>
  References: <20060103112745.BB6CEF0AC6@svr2.postgresql.org> <c2d9e70e0601031247u15248c58g5120634b83da5439@mail.gmail.com> <43C2508B.1F505985@sambatechnologies.com>

* 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