agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
Support for PostgreSQL stored procedure through ITX.
2+ messages / 2 participants
[nested] [flat]

* Support for PostgreSQL stored procedure through ITX.
@ 2021-07-09 05:53 Prajakta Chinchole <prajakta.chinchole@hcl.com>
  2021-07-09 13:42 ` Re: Support for PostgreSQL stored procedure through ITX. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Prajakta Chinchole @ 2021-07-09 05:53 UTC (permalink / raw)
  To: pgsql-sql@lists.postgresql.org <pgsql-sql@lists.postgresql.org>

Hello Team,

This is Prajakta from HCL-ITX team.

We are trying to execute a PostgreSQL stored procedure through ITX. We are using ODBC driver that was provided with PostgreSQL. We observed that sqlExecDirect() failed for stored procedure with below error :
               DIAG [42809] ERROR: public.transfer(integer, integer) is a procedure;
Error while executing the query (1)

We have verified all parameters passed to sqlExecDirect(). All are as expected and earlier bind call was also succeeded. We have collected odbc traces generated for that run. Attached the same.

Could you please review the attached log and confirm why it was failing with ITX ?

Thanks,
Prajakta Chinchole.
Technical specialist - HCL.

::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

Attachments:

  [application/octet-stream] postgresql ODBC logs (23.9K, ../../PS1PR04MB27587E6655BA9B07187C134D8B189@PS1PR04MB2758.apcprd04.prod.outlook.com/3-postgresql%20ODBC%20logs)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Support for PostgreSQL stored procedure through ITX.
  2021-07-09 05:53 Support for PostgreSQL stored procedure through ITX. Prajakta Chinchole <prajakta.chinchole@hcl.com>
@ 2021-07-09 13:42 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-07-09 13:42 UTC (permalink / raw)
  To: Prajakta Chinchole <prajakta.chinchole@hcl.com>; +Cc: pgsql-sql@lists.postgresql.org <pgsql-sql@lists.postgresql.org>

Prajakta Chinchole <prajakta.chinchole@hcl.com> writes:
> We are trying to execute a PostgreSQL stored procedure through ITX. We are using ODBC driver that was provided with PostgreSQL. We observed that sqlExecDirect() failed for stored procedure with below error :
>                DIAG [42809] ERROR: public.transfer(integer, integer) is a procedure;
> Error while executing the query (1)

You might have more luck asking about this on the pgsql-odbc mailing list.
Also, make sure you're using an up-to-date release of the ODBC driver.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-07-09 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 05:53 Support for PostgreSQL stored procedure through ITX. Prajakta Chinchole <prajakta.chinchole@hcl.com>
2021-07-09 13:42 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox