diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-04-04 10:24:56 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-04-04 10:24:56 +0900 |
commit | 92c76021aed47daa61afd5c7d6f8201382dee203 (patch) | |
tree | c5ab483ae6d5d4b7471103c89f97469375b2fa17 /src/backend/commands/dbcommands.c | |
parent | b73c3a11963c8bb783993cfffabb09f558f86e37 (diff) | |
download | postgresql-92c76021aed47daa61afd5c7d6f8201382dee203.tar.gz postgresql-92c76021aed47daa61afd5c7d6f8201382dee203.zip |
Improve readability of some tests in strings.sql
c251336 has added some tests to check if a toast relation should be
empty or not, hardcoding the toast relation name when calling
pg_relation_size(). pg_class.reltoastrelid offers the same information,
so simplify the tests to use that.
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/20190403065949.GH3298@paquier.xyz
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions