Re: patch to create system view that lists cursors
Вложения
В списке pgsql-patches по дате отправления:
| От | Neil Conway |
|---|---|
| Тема | Re: patch to create system view that lists cursors |
| Дата | |
| Msg-id | 1137479290.9145.91.camel@localhost.localdomain обсуждение |
| Ответ на | Re: patch to create system view that lists cursors (Neil Conway <neilc@samurai.com>) |
| Ответы |
Re: patch to create system view that lists cursors
|
| Список | pgsql-patches |
On Sun, 2006-01-15 at 17:57 -0500, Neil Conway wrote: > I think the view should include the portals created by DECLARE CURSOR > and "Bind" protocol messages, but should not include the unnamed portal > or any other portals that are created internally as part of the > implementation of other commands (e.g. EXECUTE). I'm not sure how to > handle SPI: developers using SPI would expect to find their portals in > the view, but those using SPI indirectly (e.g. via PL/foo) would > probably find the clutter surprising. I'd say we need to include SPI > portals in the view as well. Attached is a revised version of Joachim's patch that implements this. Cursors created via SPI are part of the view, which produces somewhat unexpected results when querying the view from a procedural language as noted above, but I suppose it's the best compromise. The documentation still needs some work. Barring any objections, I'll fix that and a few other minor issues and then apply the patch tomorrow. -Neil
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера