From: | Jaime Casanova <systemguards(at)gmail(dot)com> |
---|---|
To: | Jacques Gollion <jgollion(at)sambatechnologies(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #2139: Problem when calling functions without any argument |
Date: | 2006-01-03 20:47:25 |
Message-ID: | c2d9e70e0601031247u15248c58g5120634b83da5439@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
On 1/3/06, Jacques Gollion <jgollion(at)sambatechnologies(dot)com> wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2139
> Logged by: Jacques Gollion
> Email address: jgollion(at)sambatechnologies(dot)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 ;)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-01-03 22:50:04 | Re: [GENERAL] PL/pgSQL Function Help |
Previous Message | Tom Lane | 2006-01-03 20:40:25 | Re: [BUGS] BUG #2129: dblink problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Schmidt | 2006-01-03 23:12:40 | CLASSPATH (not) |
Previous Message | Jacques Gollion | 2006-01-03 11:27:45 | BUG #2139: Problem when calling functions without any argument |