Re: pg17.3 PQescapeIdentifier() ignores len

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg17.3 PQescapeIdentifier() ignores len
Date: 2025-02-14 12:17:09
Message-ID: CAEudQApAqFQQ5F6uUfJ+EWn0OrRFwKpB_og2hcO4Dhh_YaeiCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em qui., 13 de fev. de 2025 às 16:00, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> escreveu:

> Justin Pryzby <pryzby(at)telsasoft(dot)com> writes:
> > The fprintf suggests that since 5dc1e42b4 PQescapeIdentifier ignores its
> len.
>
> Ugh, yes. Need something like the attached.
>
> FTR, 5dc1e42b4 et al were quite subtle patches done under extreme time
> pressure. I wonder if they have any other issues. More eyes on those
> patches would be welcome, now that they are public.
>
Passes on standard tests at Windows 64 bits, msvc 2022 64 bits.

best regards,
Ranier Vilela

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-02-14 12:35:40 Re: BackgroundPsql swallowing errors on windows
Previous Message Ranier Vilela 2025-02-14 12:13:38 Re: Simplify the logic a bit (src/bin/scripts/reindexdb.c)