Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 366A62E0048 for ; Wed, 21 Nov 2007 14:05:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 30794-07 for ; Wed, 21 Nov 2007 14:05:30 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 385782E003C for ; Wed, 21 Nov 2007 14:05:31 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lALI5QIG014548; Wed, 21 Nov 2007 13:05:27 -0500 (EST) To: Martin Marques cc: =?UTF-8?B?Um9kcmlnbyBEZSBMZcOzbg==?= , PostgreSQL SQL List Subject: Re: PL argument max size, and doubt In-reply-to: <47446F13.3090003@marquesminen.com.ar> References: <4744313C.40107@marquesminen.com.ar> <47446F13.3090003@marquesminen.com.ar> Comments: In-reply-to Martin Marques message dated "Wed, 21 Nov 2007 14:46:59 -0300" Date: Wed, 21 Nov 2007 13:05:26 -0500 Message-ID: <14547.1195668326@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/104 X-Sequence-Number: 29632 Martin Marques 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