From: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | pg_dump: Add const decorations |
Date: | 2021-02-03 12:10:51 |
Message-ID: | 012d3030-9a2c-99a1-ed2d-988978b5632f@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Something that came out of work on pg_dump recently. I added const
decorations to the *info arguments of the dump* functions, to clarify
that they don't modify that argument. Many other nearby functions
modify their arguments, so this can help clarify these different APIs a bit.
Attachment | Content-Type | Size |
---|---|---|
0001-pg_dump-Add-const-decorations.patch | text/plain | 42.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-02-03 12:17:31 | Re: pg_replication_origin_drop API potential race condition |
Previous Message | Heikki Linnakangas | 2021-02-03 12:08:37 | Bug in COPY FROM backslash escaping multi-byte chars |