Re: PL argument max size, and doubt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Marques <martin(at)marquesminen(dot)com(dot)ar>
Cc: Rodrigo De León <rdeleonp(at)gmail(dot)com>, PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: PL argument max size, and doubt
Date: 2007-11-21 18:05:26
Message-ID: 14547.1195668326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Martin Marques <martin(at)marquesminen(dot)com(dot)ar> writes:
> Rodrigo De Len 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message gunartha 2007-11-21 18:54:42 string function
Previous Message Martin Marques 2007-11-21 17:46:59 Re: PL argument max size, and doubt