Skip to content

Commit 9cd45d0

Browse files
authored
Stab PG's pg_total_relation_size() (#6659)
1 parent d0c6dfb commit 9cd45d0

File tree

1 file changed

+6
-0
lines changed
  • ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/adt

1 file changed

+6
-0
lines changed

ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/adt/dbsize.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,12 @@ calculate_total_relation_size(Relation rel)
546546

547547
Datum
548548
pg_total_relation_size(PG_FUNCTION_ARGS)
549+
{
550+
return (Datum)0;
551+
}
552+
553+
Datum
554+
pg_total_relation_size_original(PG_FUNCTION_ARGS)
549555
{
550556
Oid relOid = PG_GETARG_OID(0);
551557
Relation rel;

0 commit comments

Comments
 (0)