Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36026b0

Browse files
pg_dump: Fix object-type sort priority for large objects.
Commita45c78e moved large object metadata from SECTION_PRE_DATAto SECTION_DATA but neglected to move PRIO_LARGE_OBJECT indbObjectTypePriorities accordingly. While this hasn't produced anyknown live bugs, it causes problems for a proposed patch thatoptimizes upgrades with many large objects. Fixing the prioritymight also make the topological sort step marginally faster byreducing the number of ordering violations that have to be fixed.Reviewed-by: Nitin Motiani <nitinmotiani@google.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/aBkQLSkx1zUJ-LwJ%40nathanDiscussion:https://postgr.es/m/aG_5DBCjdDX6KAoD%40nathanBackpatch-through: 17
1 parent99fd638 commit36026b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_dump_sort.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ enum dbObjectTypePriorities
7676
PRIO_TABLE_ATTACH,
7777
PRIO_DUMMY_TYPE,
7878
PRIO_ATTRDEF,
79-
PRIO_LARGE_OBJECT,
8079
PRIO_PRE_DATA_BOUNDARY,/* boundary! */
8180
PRIO_TABLE_DATA,
8281
PRIO_SEQUENCE_SET,
82+
PRIO_LARGE_OBJECT,
8383
PRIO_LARGE_OBJECT_DATA,
8484
PRIO_STATISTICS_DATA_DATA,
8585
PRIO_POST_DATA_BOUNDARY,/* boundary! */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp