pgsql: In opr_sanity regression test, check for unexpected uses of cstr
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: In opr_sanity regression test, check for unexpected uses of cstr |
| Дата | |
| Msg-id | E1aGXn5-0004Hp-DK@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
In opr_sanity regression test, check for unexpected uses of cstring. In light of commit ea0d494dae0d3d6f, it seems like a good idea to add a regression test that will complain about random functions taking or returning cstring. Only I/O support functions and encoding conversion functions should be declared that way. While at it, add some checks that encoding conversion functions are declared properly. Since pg_conversion isn't populated manually, it's not quite as necessary to check its contents as it is for catalogs like pg_proc; but one thing we definitely have not tested in the past is whether the identified conproc for a conversion actually does that conversion vs. some other one. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/921191912c48a68db81c02c02f3bc22e291d918c Modified Files -------------- src/test/regress/expected/opr_sanity.out | 84 +++++++++++++++++++++++++++++- src/test/regress/sql/opr_sanity.sql | 73 +++++++++++++++++++++++++- 2 files changed, 155 insertions(+), 2 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера