Re: jsonpath duplication result

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: jsonpath duplication result
Дата
Msg-id CAKFQuwahoBTcy1W2ob7zna_ZK6yGsXTYLN31UbdASwvTPSh7pA@mail.gmail.com
обсуждение исходный текст
Ответ на jsonpath duplication result  (Charles Paperman <charles.paperman@inria.fr>)
Ответы Re: jsonpath duplication result  (Charles Paperman <charles.paperman@inria.fr>)
Список pgsql-general
On Thu, Sep 2, 2021 at 6:06 AM Charles Paperman <charles.paperman@inria.fr> wrote:
I also wonder if it is problematic to have simple small query like that that can be design to make the database work endlessly?


No, because the "simple small" part of that doesn't matter.  A user with access has various ways to affect denial-of-service on the server.  If you don't trust someone from doing this kind of thing intentionally don't provide them a login.  Accidental issues of this nature should be accounted for in other ways - like testing.  And the process-oriented nature of the system helps too since CPU starving becomes difficulty (so memory ends up being the main concern).

The pathological case shown here is not all that concerning to me either.

That the implementation choice could have been different, and match other implementations, is interesting to me.  But changing this kind of behavior is usually not an option.  Though adding new features to accomplish the new behavior is something to consider.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Ninad Shah
Дата:
Сообщение: Re: Issue with a query while running on a remote host
Следующее
От: M Tarkeshwar Rao
Дата:
Сообщение: memory consumption of memory for postgres db container