Re: patch: General purpose utility functions used by the JSON data type
В списке pgsql-hackers по дате отправления:
| От | Mike Fowler |
|---|---|
| Тема | Re: patch: General purpose utility functions used by the JSON data type |
| Дата | |
| Msg-id | 4C651646.70207@mlfowler.com обсуждение исходный текст |
| Ответ на | patch: General purpose utility functions used by the JSON data type (Joseph Adams <joeyadams3.14159@gmail.com>) |
| Список | pgsql-hackers |
On 13/08/10 10:45, Joseph Adams wrote: > This patch doesn't include tests . How would I go about writing them? > > I have made the JSON data type built-in, and I will post that patch > shortly (it depends on this one). The built-in JSON data type uses > all of these utility functions, and the tests for the JSON data type > pass. > Joseph, Most existing data types have a regression SQL script in src/test/regress/sql. Using one of them as an example to draw some inspiration from, you should be able to write a 'json.sql' script that exercises the data type and it's supporting functions. Full instructions can be found at http://wiki.postgresql.org/wiki/Regression_test_authoring Regards, -- Mike Fowler Registered Linux user: 379787
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера