pgsql: Fix flag tests in src/test/modules/test_oat_hooks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix flag tests in src/test/modules/test_oat_hooks
Дата
Msg-id E1oBa6A-002aGk-FT@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix flag tests in src/test/modules/test_oat_hooks

In what must have been a copy'n paste mistake, all the flag tests use
the same flag rather than a different flag each.  The bug is not
suprising, considering that it's dead code; add a minimal, testimonial
line to cover it.

This is all pretty inconsequential, because this is just example code,
but it had better be correct.

Discussion: https://postgr.es/m/20220712152059.fwli2majwgzdmh4r@alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
src/test/modules/test_oat_hooks/expected/test_oat_hooks.out | 13 ++++++++++++-
src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql      |  5 ++++-
src/test/modules/test_oat_hooks/test_oat_hooks.c            | 10 +++++-----
3 files changed, 21 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Allow specifying STORAGE attribute for a new table
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Plug memory leak