Re: plpgsql at what point does the knowledge of the query come in?
В списке pgsql-general по дате отправления:
| От | Raymond O'Donnell |
|---|---|
| Тема | Re: plpgsql at what point does the knowledge of the query come in? |
| Дата | |
| Msg-id | 4EA08B34.905@iol.ie обсуждение исходный текст |
| Ответ на | Re: plpgsql at what point does the knowledge of the query come in? (Henry Drexler <alonup8tb@gmail.com>) |
| Ответы |
Re: plpgsql at what point does the knowledge of the query
come in?
Re: plpgsql at what point does the knowledge of the query come in? |
| Список | pgsql-general |
On 20/10/2011 21:51, Henry Drexler wrote: > I found the problem, it looks like nnlength := length(newnode); is not > getting reset > > create or replace function nnodetestt(text) returns text language > plpgsql as $$ > DECLARE > newnode alias for $1; > nnlength integer; > t text; > nmarker text; > BEGIN > nnlength := length(newnode); Not sure what you mean by the above... that statement only gets executed once, so the value of nnlength doesn't change. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера