Re: patch to create system view that lists cursors

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: patch to create system view that lists cursors
Дата
Msg-id 1137112794.9143.164.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: patch to create system view that lists cursors  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: patch to create system view that lists cursors
Список pgsql-patches
On Thu, 2006-01-12 at 19:27 -0500, Tom Lane wrote:
> No kidding.  But what do you think the correct test is?  The comment's
> claim that stuff named "<unnamed cursor>" should be suppressed seems
> wrong to begin with, as those are perfectly good cursors.

Well, I suggested to Joachim offlist that these shouldn't be listed. I
think the intent of the feature is to list the available *cursors*, not
all the available Portals. Why list Portals that cannot be directly
manipulated by the user? It would also mean that this would produce
unexpected results: "PREPARE foo AS SELECT * FROM pg_cursors; EXECUTE
foo".

-Neil



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: patch to create system view that lists cursors
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch to create system view that lists cursors