| From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
|---|---|
| To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Use strtoi64() in pgbench, replacing its open-coded implementation |
| Date: | 2025-11-19 15:37:32 |
| Message-ID: | 861dd5bd-f2c9-4ff5-8aa0-f82bdb75ec1f@iki.fi |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Here's a small patch to replace the int64 parsing code in pgbench with a
call to strtoi64(). Makes it a little simpler.
Spotted this while grepping for all the different integer parsing
functions we have. We could probably consolidate them some more, we
still have quite a different integer-parsing routines in the backend and
in the frontend. But this is one small, straightforward step in that
direction.
- Heikki
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Use-strtoi64-in-pgbench-replacing-its-open-coded-imp.patch | text/x-patch | 3.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Geier | 2025-11-19 15:38:53 | Re: Use merge-based matching for MCVs in eqjoinsel |
| Previous Message | Rambabu V | 2025-11-19 15:22:18 | PG17 version getting installed by default with every package installation |