pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Vincenzo Romano <vincenzo.romano@notorand.it>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: On Scalability
Date: Thu, 7 Oct 2010 10:52:19 -0400
Message-ID: <20101007145219.GU26232@tamriel.snowman.net> (raw)
In-Reply-To: <AANLkTi=vq6f7gERj6zKJbKg-ewKAqYaSzcmO0Qog3yn5@mail.gmail.com>
References: <1280427410.8613.44.camel@jd-desktop.unknown.charter.com>
	<AANLkTimSGghp4TseAV-zgNYakkyH3J_jW2k8peL7EOTv@mail.gmail.com>
	<4CAD769D.9090301@enterprisedb.com>
	<1286437290.2304.192.camel@ebony>
	<4CAD7BED.4050009@enterprisedb.com>
	<AANLkTi==OD9afGEDOm7OY3KYydLXcMj=kO7M5+QFbaM0@mail.gmail.com>
	<AANLkTiktPBVfa950ntGVDroY8ZNR1npQaA-oPnAJSn7n@mail.gmail.com>
	<AANLkTi=ZH-bBoXhsMf0Nj9xxmjoTCTj5Sjgk1cR1h-SH@mail.gmail.com>
	<20101007142927.GT26232@tamriel.snowman.net>
	<AANLkTi=vq6f7gERj6zKJbKg-ewKAqYaSzcmO0Qog3yn5@mail.gmail.com>

* Vincenzo Romano (vincenzo.romano@notorand.it) wrote:
> Which kind of information are you thinking about?
> I think that the stuff you put into the CHECK condition for the table
> will say it all.

The problem is that CHECK conditions can contain just about anything,
hence the planner needs to deal with that possibility.

> Infact there you have not just the column names with relevant values, but the
> actual expression(s) to be checked,

Yes, that would be the problem.  Proving something based on expressions
is alot more time consuming and complicated than being explicitly told
what goes where.

	Stephen

Attachments:

  signature.asc (application/pgp-signature, 196B) download

view thread (45+ messages)  latest in thread

Message-ID: <20101007145219.GU26232@tamriel.snowman.net>
Permalink:  ../20101007145219.GU26232@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20101007145219.GU26232@tamriel.snowman.net

 · 

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-performance@postgresql.org
  Cc: sfrost@snowman.net, vincenzo.romano@notorand.it, robertmhaas@gmail.com, heikki.linnakangas@enterprisedb.com, simon@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: On Scalability
  In-Reply-To: <20101007145219.GU26232@tamriel.snowman.net>

* 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