Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group