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

Re: PostgreSQL giving jitters to Skypak

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Christopher Petrilli <petrilli(at)gmail(dot)com>,"Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: "Jussi(dot)Mikkola(at)bonware(dot)com" <jussi(dot)mikkola(at)bonware(dot)com>,aspire420(at)hotpop(dot)com, pgsql-advocacy(at)postgresql(dot)org,in(at)postgresql(dot)org
Subject: Re: PostgreSQL giving jitters to Skypak
Date: 2004-08-25 01:09:42
Message-ID: 200408241809.42930.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-advocacy
Chris,

> I've always wondered... is there some reason we don't do "type
> promotion" to match indices? So if someone provides an int, and a
> bigint index exists, it should be used automatically, as they're
> interchangable (i.e. int is a subset of bigint).

Because it's actually more difficult that it sounds.   

However, we *have* made changes to 8.0 to make it better at selecting 
appropriate types for constants when and index exists.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

pgsql-advocacy by date

Next:From: Marc G. FournierDate: 2004-08-25 01:32:06
Subject: Re: PostgreSQL giving jitters to Skypak
Previous:From: Marc G. FournierDate: 2004-08-24 23:11:13
Subject: Re: PostgreSQL giving jitters to Skypak

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