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

Commit528ac10

Browse files
committed
The current implementation of dbsize doesn't handle tables in
tablespaces correctly, and is quite restricted on objects covered (onlytables and databases, but not tablespaces and indexes).The attached patch contributes:- database_size(name)- relation_size(text)These are the well-known functions, tablespace-aware.- pg_tablespace_size(oid)- pg_database_size(oid)- pg_relation_size(oid)Tablespace-aware implementations, used by the upper functions.pg_relation_size will report sizes of indexes as well.- pg_size_pretty(bigint)Formatting of sizes, to display '146MB' instead of '152885668'Andreas Pflug
1 parente814e4b commit528ac10

File tree

2 files changed

+283
-124
lines changed

2 files changed

+283
-124
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp