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

Commit92316a4

Browse files
committed
In pg_dump, use simplehash.h to look up dumpable objects by OID.
Create a hash table that indexes dumpable objects by CatalogId(that is, catalog OID + object OID). Use this to replace theformer catalogIdMap array, as well as various other single-catalog index arrays, and also the extension membership map.In principle this should be faster for databases with many objects,since lookups are now O(1) not O(log N). However, it seems that theselookups are pretty much negligible in context, so that no overallperformance change can be measured. But having only one lookupdata structure to maintain makes the code simpler and more flexible,so let's do it anyway.Discussion:https://postgr.es/m/2595220.1634855245@sss.pgh.pa.us
1 parent974aedc commit92316a4

File tree

4 files changed

+209
-328
lines changed

4 files changed

+209
-328
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp