Re: change regexp_substr first argument make tests more easier to understand.
В списке pgsql-hackers по дате отправления:
| От | Tomas Vondra |
|---|---|
| Тема | Re: change regexp_substr first argument make tests more easier to understand. |
| Дата | |
| Msg-id | 839433fd-1ce7-485d-b42a-76e094781a91@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: change regexp_substr first argument make tests more easier to understand. (jian he <jian.universality@gmail.com>) |
| Ответы |
Re: change regexp_substr first argument make tests more easier to understand.
|
| Список | pgsql-hackers |
Hi, If I understand correctly, the problem is that it's not clear which of the 'abc' substrings is matched/returned by the function, right? I wonder if this is a problem only for understanding the test, or if it makes the tests a bit weaker. I mean, what if the function returns the wrong substring? How would we know? Also, if we tweak this, shouldn't we tweak also the regext_instr() calls a bit earlier in the test script? regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера