| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: pg17.3 PQescapeIdentifier() ignores len |
| Date: | 2025-02-13 19:00:09 |
| Message-ID: | 3718360.1739473209@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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.
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| fix-PQescapeInternal-ignores-len-parameter.patch | text/x-diff | 901 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-02-13 19:05:12 | Re: pg17.3 PQescapeIdentifier() ignores len |
| Previous Message | Степан | 2025-02-13 18:47:37 | Re: Patch: Log parameter types in detailed query logging |