Re: PQexecPrepared() question

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Igor Korot <ikorot01(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PQexecPrepared() question
Date: 2025-12-25 09:32:08
Message-ID: ec236bc4360fc2bb33e82d7b604faeaa0e9dbeeb.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2025-12-24 at 17:28 -0800, Igor Korot wrote:
> My current code is below:
>
> [...]
> res8 = PQexecPrepared( m_db, "set_table_prop", 3, params, paramLength, paramFormat, 0 );
> [...]
>
> This code crashes on the PQexecParam.

Your code does not contain PQexecParam.
It is also incomplete and doesn't contain where the statement is prepared,
nor does it contain the definition of the variables you are using.

I recommend using a debugger.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Previous Message Igor Korot 2025-12-25 01:28:23 Re: PQexecPrepared() question