public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Igor Korot <[email protected]>
To: [email protected]
Subject: Re: PQexecPrepared() question
Date: Thu, 25 Dec 2025 10:32:08 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTzuJTaPBgzOyFxHJCCSqxvvOz7=LePnoonNQMepKT2DeA@mail.gmail.com>
References: <[email protected]>
	<CA+FnnTzE34VJWR7xkymaKEwXiiQ8j3o03m0+qcQsRr2JkRQLwQ@mail.gmail.com>
	<[email protected]>
	<CA+FnnTz5tcJEL12ir1nxe9q75rxaAdfBtcFUNiD4R5gW_JR23A@mail.gmail.com>
	<CA+FnnTyYBNwbzFs5GqO+SMg3g60jPTsnmFwTV=_s_YboGo-68A@mail.gmail.com>
	<[email protected]>
	<CA+FnnTwtd-YJo5zp3obQer3qfbacg5s-4b3+5PvUkL3e+5Eh4Q@mail.gmail.com>
	<[email protected]>
	<6uz5ppdgqhlovw3df2dmzgzrfbfmmy5pys37ln7u4kyidaftgo@gxgkvkbwk3zh>
	<CA+FnnTxVZ64Lrq3t35j7w8mE=oP94TgetT62+Y8=ea_VfE2uEw@mail.gmail.com>
	<47v26pfhc2hnz3ax2u6ogke7npeyghbkxghov5hysv2f7ttchs@c5vrfavj7oqe>
	<CA+FnnTwz2PSSi2MVoH3rCKtAn=beRm97m7nGyxX1d3oF5EFVkw@mail.gmail.com>
	<CA+FnnTzuJTaPBgzOyFxHJCCSqxvvOz7=LePnoonNQMepKT2DeA@mail.gmail.com>

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






view thread (19+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PQexecPrepared() question
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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