git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 30d4772) | patch
Improve test coverage of ruleutils.c.
Fri, 6 Dec 2019 22:40:24 +0000 (17:40 -0500)
Fri, 6 Dec 2019 22:40:30 +0000 (17:40 -0500)
commit 830d1c73b3f4524bc897ddab5c6c3b47840c915a
Improve test coverage of ruleutils.c.

While fooling around with the EXPLAIN improvements I've been working
on, I noticed that there were some large gaps in our test coverage
of ruleutils.c, according to the code coverage report. This commit
just adds a few test cases to improve coverage of:
get_name_for_var_field()
get_update_query_targetlist_def()
isSimpleNode()
get_sublink_expr()
src/test/regress/expected/create_view.out diff | blob | blame | history
src/test/regress/expected/rules.out diff | blob | blame | history
src/test/regress/sql/create_view.sql diff | blob | blame | history
src/test/regress/sql/rules.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /