pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #2139: Problem when calling functions without any argument
4+ messages / 2 participants
[nested] [flat]
* BUG #2139: Problem when calling functions without any argument
@ 2006-01-03 11:27 Jacques Gollion <jgollion@sambatechnologies.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jacques Gollion @ 2006-01-03 11:27 UTC (permalink / raw)
To: pgsql-bugs@postgresql.org
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.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #2139: Problem when calling functions without any argument
@ 2006-01-03 20:47 Jaime Casanova <systemguards@gmail.com>
parent: Jacques Gollion <jgollion@sambatechnologies.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jaime Casanova @ 2006-01-03 20:47 UTC (permalink / raw)
To: Jacques Gollion <jgollion@sambatechnologies.com>; +Cc: pgsql-bugs@postgresql.org
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 ;)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #2139: Problem when calling functions without any
@ 2006-01-09 12:01 Jacques Gollion <jgollion@sambatechnologies.com>
parent: Jaime Casanova <systemguards@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jacques Gollion @ 2006-01-09 12:01 UTC (permalink / raw)
To: Jaime Casanova <systemguards@gmail.com>; +Cc: pgsql-bugs@postgresql.org
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Fwd: [BUGS] BUG #2139: Problem when calling functions without any argument
@ 2006-01-09 17:48 Jaime Casanova <systemguards@gmail.com>
parent: Jacques Gollion <jgollion@sambatechnologies.com>
0 siblings, 0 replies; 4+ messages in thread
From: Jaime Casanova @ 2006-01-09 17:48 UTC (permalink / raw)
To: pgsql-jdbc; Jacques Gollion <jgollion@sambatechnologies.com>
---------- Forwarded message ----------
From: Jacques Gollion <jgollion@sambatechnologies.com>
Date: Jan 9, 2006 7:01 AM
Subject: Re: [BUGS] BUG #2139: Problem when calling functions without
any argument
To: Jaime Casanova <systemguards@gmail.com>
Cc: pgsql-bugs@postgresql.org
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...
>
well. this looks like an specific jdbc issue so i will redirect you to
that list... maybe a little info about the table and the sequence and
maybe the actual code where this error is happening can be of hlp...
--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
Attachments:
Information.log (application/x-unknown-content-type-txtfile, 2.1K) download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2006-01-09 17:48 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-01-03 11:27 BUG #2139: Problem when calling functions without any argument Jacques Gollion <jgollion@sambatechnologies.com>
2006-01-03 20:47 ` Jaime Casanova <systemguards@gmail.com>
2006-01-09 12:01 ` Re: BUG #2139: Problem when calling functions without any Jacques Gollion <jgollion@sambatechnologies.com>
2006-01-09 17:48 ` Jaime Casanova <systemguards@gmail.com>
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