pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Marques <martin@marquesminen.com.ar>
Cc: Rodrigo De León <rdeleonp@gmail.com>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: PL argument max size, and doubt
Date: Wed, 21 Nov 2007 13:05:26 -0500
Message-ID: <14547.1195668326@sss.pgh.pa.us> (raw)
In-Reply-To: <47446F13.3090003@marquesminen.com.ar>
References: <4744313C.40107@marquesminen.com.ar>
	<a55915760711210729t7d255de2kf0abc309ffd84ccc@mail.gmail.com>
	<47446F13.3090003@marquesminen.com.ar>

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



view thread (7+ messages)  latest in thread

Message-ID: <14547.1195668326@sss.pgh.pa.us>
Permalink:  ../14547.1195668326@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14547.1195668326@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, martin@marquesminen.com.ar, rdeleonp@gmail.com
  Subject: Re: PL argument max size, and doubt
  In-Reply-To: <14547.1195668326@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox