Re: facing problem in outparameters in c

From: Mahesh Bodepati <mahesh(dot)bodepati(at)Xius(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: facing problem in outparameters in c
Date: 2020-10-28 04:57:12
Message-ID: MAXPR01MB3647DD40F14CF14C84D7139496170@MAXPR01MB3647.INDPRD01.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Actually i am calling a postgres function by using c language which description is defined in database side .when iam calling a postgres function by passing input and output parameters after excution of function in database side i need output data in correcsponding output parameters but iam not getting output like that. i am getting total output data in response pointer.if iam getting total data in response pointer it is hard to figure out which data is for which output parameter. can you please check once attached two text files.

Thanks & Regards,
Mahesh Bodepati
Software Engineer- Engineering
XIUS
INNOVATE . LEAD.
mahesh(dot)bodepati(at)xius(dot)com<mailto:battini(dot)subrahmanyam(at)xius(dot)com>
http://www.xius.com<http://www.xius.com/>

________________________________
From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Sent: Tuesday, October 27, 2020 8:09 PM
To: Mahesh Bodepati <mahesh(dot)bodepati(at)Xius(dot)com>; pgsql-general(at)lists(dot)postgresql(dot)org <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: facing problem in outparameters in c

On Mon, 2020-10-26 at 10:45 +0000, Mahesh Bodepati wrote:
> i am facing the problem in passing the outparameters in postgres package calling by using c language

There are no "packages" in PostgreSQL.
Can you clarify your question?

How is the function or procedure you are calling defined?

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

Attachment Content-Type Size
postgres_db_function.txt text/plain 102.1 KB
program.txt text/plain 4.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2020-10-28 06:59:17 Re: facing problem in outparameters in c
Previous Message Tom Lane 2020-10-28 02:28:29 Re: pg_restore: error: schema "public" already exists