Re: PQexecPrepared() question - Mailing list pgsql-general

From Laurenz Albe
Subject Re: PQexecPrepared() question
Date
Msg-id ec236bc4360fc2bb33e82d7b604faeaa0e9dbeeb.camel@cybertec.at
Whole thread Raw
In response to Re: PQexecPrepared() question  (Igor Korot <ikorot01@gmail.com>)
List 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



pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: PQexecPrepared() question
Next
From: Tom Lane
Date:
Subject: Re: Some questions about CREATE INDEX CONCURRENTLY and pg_advisory_lock