| От | Tom Lane |
|---|---|
| Тема | Re: Nullability patch take 2 |
| Дата | |
| Msg-id | 28071.1017636093@sss.pgh.pa.us обсуждение |
| Ответ на | Nullability patch take 2 (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
| Список | pgsql-patches |
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Updated to match Tom's new semantics. passes my own regression tests plus
> all existing ones...
Checked and applied. I made one nontrivial change --- for anything on
which there's a syscache, it's a lot easier (and faster) to use
SearchSysCacheCopy to get a tuple to update than it is to do a heapscan.
The syscache will either have the tuple already, or will get it with an
indexscan --- either way wins over a heapscan when the catalog is at
all large.
(One of the things on my to-do list is to get rid of unnecessary
heapscans on system tables; there are still a few of 'em in code
paths that are used enough to be worth worrying about.)
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера