| От | Markus Schaber |
|---|---|
| Тема | Re: [JDBC] Where are we on stored procedures? |
| Дата | |
| Msg-id | 421F6C8E.40804@logi-track.com обсуждение исходный текст |
| Ответ на | Re: Where are we on stored procedures? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Hi, Tom, Tom Lane schrieb: > Yeah, but only because you have to do it explicitly. I was wondering > whether we couldn't bury that mechanism under the hood. (In particular, > given the improved support in 8.0 for anonymous record types, we could > in theory have the backend invent a record type on-the-fly to match > whatever list of OUT parameters a particular function has.) It would not be necessarily on the fly, at least in the first step we possibly get away with declaraing the returned tuples at creation time and implicitly creating those tuple types. The declaration could be like "returns (touchedrows int, somethingelse datetime), setof (article int, description text)" for a function/method that has two resultsets, one of those with always one row. markus -- markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 zürich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios@logi-track.com | www.logi-track.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера