Simplify redundant current_database() subqueries in stats.sql regression test

Previously the stats.sql regression test used conditions like
"datname = (SELECT current_database())" to check the current database name.

The subquery is unnecessary, so this commit simplifies these expressions to
"datname = current_database()".

Author: Chao Li <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d78a4f0bf058906c5cfd25c815ccbdf18013b312

Modified Files
--------------
src/test/regress/expected/stats.out | 12 ++++++------
src/test/regress/sql/stats.sql      | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)

Reply via email to