From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: Re: table contraints checks only happen in planner phase
Date: Fri, 01 Apr 2011 10:32:24 -0700
Message-ID: <4D960C28.9020401@agliodbs.com> (raw)
In-Reply-To: <in36uv$24hs$2@news.hub.org>
References: <in36uv$24hs$2@news.hub.org>
On 3/31/11 5:41 PM, Joseph Shraibman wrote:
> Is there a reason that when executing queries the table constraints are
> only checked during planning and not execution? I end up making 2 round
> trips to the database to get around this.
This is a limitation with our current partitioning implementation. It
only understands literal values, not JOINs.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
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-performance@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: table contraints checks only happen in planner phase
In-Reply-To: <4D960C28.9020401@agliodbs.com>
* 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