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 <[email protected]> Co-authored-by: Ashutosh Bapat <[email protected]> Co-authored-by: Andrew Dunstan <[email protected]> Reviewed-by: Junwang Zhao <[email protected]> Reviewed-by: Kirill Reshke <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected] 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(-)
