| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | several cases of float and integer mixup |
| Date: | 2026-12-03 11:06:16 |
| Message-ID: | 35169b31-3c1a-4042-8e4f-119e6bb813b6@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I have found several cases where a variable or C function argument was
declared as an integer but should be a floating-point type, or vice
versa. See attached patches. I think most of these are harmless in
practice. The one in gistbuild.c is technically a bug, but it's in
quite rare circumstances and there is no correctness issue, so it's
probably not worth bothering with backpatching.
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-gininsert-Fix-variable-type.patch | text/plain | 1.0 KB |
| 0002-gistbuild-Fix-variable-type.patch | text/plain | 1.5 KB |
| 0003-postgres_fdw-Fix-function-argument-type.patch | text/plain | 1.4 KB |
| 0004-Fix-type-of-cost_agg-argument-input_width.patch | text/plain | 1.7 KB |
| 0005-ecpg-Fix-type-of-dt2time-argument.patch | text/plain | 2.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shveta malik | 2026-12-03 11:34:34 | Re: Include schema-qualified names in publication error messages (generalised to all of LR). |
| Previous Message | Amit Kapila | 2026-12-03 10:55:12 | Re: Show the conflict log table in \dRs+ output |