Re: PL argument max size, and doubt

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL argument max size, and doubt
Дата
Msg-id 14547.1195668326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PL argument max size, and doubt  (Martin Marques <martin@marquesminen.com.ar>)
Ответы Re: PL argument max size, and doubt
Список pgsql-sql
Martin Marques <martin@marquesminen.com.ar> writes:
> Rodrigo De León escribió:
>> "In any case, the longest possible character string that can be stored
>> is about 1 GB."
>> 
> I was asking about the limit in the argument. Is it the same as the 
> limits the types have in table definition?

Yeah, ultimately this is a palloc() restriction on the size of any one
data value.

> I have always heard that modification queries should be EXECUTED in PL. 
> AFAICR.

Run far away from whatever source gave you that advice...
        regards, tom lane


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

Предыдущее
От: Martin Marques
Дата:
Сообщение: Re: PL argument max size, and doubt
Следующее
От: Andreas
Дата:
Сообщение: update on join ?