Improve readability of some tests in strings.sql
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/strings.out | modified | +8 −6 |
| src/test/regress/sql/strings.sql | modified | +4 −2 |
Discussion
- Simplify redability of some tests for toast_tuple_target in strings.sql 3 messages · 2019-04-03 → 2019-04-04