| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Dump labels in reproducible order |
| Date: | 2026-03-17 13:14:48 |
| Message-ID: | E1w2UFz-000ANy-0l@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Dump labels in reproducible order
In pg_get_propgraphdef(), sort the labels before writing out, for a
consistent dump order. Also, since we now have a list, we can get rid
of the separate table scan to get the count.
Co-authored-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Co-authored-by: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Co-authored-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reviewed-by: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Reviewed-by: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/a855795d-e697-4fa5-8698-d20122126567(at)eisentraut(dot)org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c9babbc8816a4f5d5894eda555e39ba30781322f
Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 59 +++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 15 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2026-03-17 13:59:10 | Re: pgsql: Add pg_plan_advice contrib module. |
| Previous Message | Heikki Linnakangas | 2026-03-17 09:52:49 | pgsql: Don't leave behind files in src dir in 007_multixact_conversion. |