Re: Deleting prepared statements from libpq.

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Jelte Fennema <me(at)jeltef(dot)nl>
Cc: Dmitry Igrishin <dmitigr(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Subject: Re: Deleting prepared statements from libpq.
Date: 2023-06-18 13:23:22
Message-ID: CACJufxHpuKsfRKp-8TJr_=MeD6rA6+WZjWgCvmsRM3j+we1SOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 18, 2023 at 7:04 PM Jelte Fennema <me(at)jeltef(dot)nl> wrote:
>
> On Sat, 17 Jun 2023 at 15:34, jian he <jian(dot)universality(at)gmail(dot)com> wrote:
> > I failed to link it. I don't know why.
>
> Sorry about that. I attached a new patch that allows linking to the
> new functions (I forgot to add the functions to exports.txt). This new
> patch also adds some basic tests for these new functions.

previously I cannot link it. with
v2-0001-Support-sending-Close-messages-from-libpq.patch. now I can
compile it, link it, but then run time error.
same c program in the first email.
when I run it ./a.out, then error:
./a.out: symbol lookup error: ./a.out: undefined symbol: PQsendClosePrepared

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-06-18 16:38:12 Re: [PATCH] hstore: Fix parsing on Mac OS X: isspace() is locale specific
Previous Message Heikki Linnakangas 2023-06-18 11:22:33 Refactoring backend fork+exec code