| От | Kevin Grittner |
|---|---|
| Тема | Re: record identical operator |
| Дата | |
| Msg-id | 1379529649.54571.YahooMailNeo@web162901.mail.bf1.yahoo.com обсуждение |
| Ответ на | Re: record identical operator (Kevin Grittner <kgrittn@ymail.com>) |
| Список | pgsql-hackers |
Kevin Grittner <kgrittn@ymail.com> wrote: >> If an update happens with a conditional of: >> >> where col1 = 'Abc' >> >> When col1 is 'ABC' using citext, should we still issue the >> update? > > Absolutely not, because the update was requested in the case that > the equality test was true. Sorry, as if this thread were not long enough, I misread that and gave the wrong answer. Yes, the equal operator was used and the equal operator for two citext values says those are equal, so the row *should* be updated. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера