pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Partitioning documentation example
Date: Fri, 04 Jan 2008 12:25:59 -0500
Message-ID: <17842.1199467559@sss.pgh.pa.us> (raw)
In-Reply-To: <200801041527.m04FR7L19863@momjian.us>
References: <200801041527.m04FR7L19863@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> 	   EXECUTE 'INSERT INTO measurement_y' || to_char(NEW.logdate,'YYYY_mMM') || ' VALUES (NEW.*)';

That won't actually work.  Even if it did, I don't think we should be
recommending use of EXECUTE here; the performance implications are bad.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <17842.1199467559@sss.pgh.pa.us>
Permalink:  ../17842.1199467559@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17842.1199467559@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-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, simon@2ndquadrant.com
  Subject: Re: Partitioning documentation example
  In-Reply-To: <17842.1199467559@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