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: Fri, 23 Nov 2007 01:40:21 -0500
Message-ID: <23159.1195800021@sss.pgh.pa.us> (raw)
In-Reply-To: <4745F67B.7050800@marquesminen.com.ar>
References: <4744313C.40107@marquesminen.com.ar>
	<a55915760711210729t7d255de2kf0abc309ffd84ccc@mail.gmail.com>
	<47446F13.3090003@marquesminen.com.ar>
	<14547.1195668326@sss.pgh.pa.us>
	<4745F67B.7050800@marquesminen.com.ar>

Martin Marques <martin@marquesminen.com.ar> writes:
> Tom Lane escribió:
>> Martin Marques <martin@marquesminen.com.ar> writes:
>>> I have always heard that modification queries should be EXECUTED in PL. 
>>> AFAICR.
>> 
>> Run far away from whatever source gave you that advice...

> Sorry, it was with DDL commands.

That's not much better ;-).  DDL commands don't have plans, so there's
not anything that could be invalidated.  I don't see any reason to use
an EXECUTE unless there's an actual textual change in the command you
need to execute.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <23159.1195800021@sss.pgh.pa.us>
Permalink:  ../23159.1195800021@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23159.1195800021@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: <23159.1195800021@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