Re: Yet another fast GiST build
От | Peter Geoghegan |
---|---|
Тема | Re: Yet another fast GiST build |
Дата | |
Msg-id | CAH2-WznFAEJ_CMRYG8G9xmX6vGNd44wZQbqzUjKzWp2NNYzhUw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Yet another fast GiST build (Peter Geoghegan <pg@bowt.ie>) |
Ответы |
Re: Yet another fast GiST build
|
Список | pgsql-hackers |
On Sun, Jan 17, 2021 at 3:04 PM Peter Geoghegan <pg@bowt.ie> wrote: > I personally agree with you - it's not like there aren't other ways > for superusers to crash the server (most of which seem very similar to > this gist_page_items() issue, in fact). I just think that it's worth > being clear about that being a trade-off that we've accepted. Can we rename gist_page_items_bytea() to gist_page_items(), and at the same time rename the current gist_page_items() -- perhaps call it gist_page_items_output()? That way we could add a bt_page_items_output() function later, while leaving everything consistent (actually not quite, since bt_page_items() outputs text instead of bytea -- but that seems worth fixing too). This also has the merit of making the unsafe "output" variant into the special case. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: