| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Additional minor pg_dump cleanups |
| Date: | 2024-07-03 07:37:32 |
| Message-ID: | C2F05B3C-1414-45DD-AE09-6FEE4D0F89BD@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Re-reading Nathans recent 8213df9effaf I noticed a few more small things which
can be cleaned up. In two of the get<Object> functions we lack a fast-path for
when no tuples are found which leads to pg_malloc(0) calls. Another thing is
that we in one place reset the PQExpBuffer immediately after creating it which
isn't required.
--
Daniel Gustafsson
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Remove-superfluous-PQExpBuffer-resetting.patch | application/octet-stream | 784 bytes |
| 0002-Add-fastpaths-for-when-no-objects-are-found.patch | application/octet-stream | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2024-07-03 08:03:16 | Re: What is a typical precision of gettimeofday()? |
| Previous Message | Joel Jacobson | 2024-07-03 07:35:07 | numeric.c: Should MUL_GUARD_DIGITS be increased from 2 to 3? |