Re: Partitioning documentation example

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Partitioning documentation example
Date: 2008-01-04 17:25:59
Message-ID: 17842.1199467559@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2008-01-04 17:32:49 Re: Partitioning documentation example
Previous Message Bruce Momjian 2008-01-04 16:54:48 Re: Partitioning documentation example