From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Ibrahim Tekin <itekin@gmail.com>
Cc: Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>
Cc: pgsql-sql@postgresql.org
Subject: Re: Avoid querying a specific field - how?
Date: Tue, 21 Feb 2006 19:06:39 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0602211906020.7427-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <e4dcba670602210732h4472e9b6lbba9f5d09058d6dd@mail.gmail.com>
O Ibrahim Tekin Ýãñáøå óôéò Feb 21, 2006 :
> i may i misunderstood your question but it seems to me, partial indexes will
> work for you.
> check this example:
> http://www.postgresql.org/docs/8.1/interactive/indexes-partial.html#INDEXES-PARTIAL-EX2
>
> On 2/21/06, Stefan Schwarzer <stefan.schwarzer@grid.unep.ch> wrote:
> >
> > Hi,
> >
> > does anyone know how to build a query that SELECTs all fields but not
> > a specific one? I have a couple of tables, holding statistical
> > information as well as the geospatial one (via Postgis). When I query
> > the table I'd like to query only the statistical part - not the
> > geospatial, which is not necessary and slows done incredibly the
> > query. I searched a bit within the Postgres SQL domain. It seems
> > there is an EXCEPT statement, but it seems that it works differently...
Why dont you exclude the geospatial fields??
If * is a must then build a view.
> >
> > Thanks for any help,
> >
> > Stef
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo@postgresql.org so that your
> > message can get through to the mailing list cleanly
> >
>
--
-Achilleus
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, itekin@gmail.com, stefan.schwarzer@grid.unep.ch
Subject: Re: Avoid querying a specific field - how?
In-Reply-To: <Pine.LNX.4.44.0602211906020.7427-100000@matrix.gatewaynet.com>
References: <e4dcba670602210732h4472e9b6lbba9f5d09058d6dd@mail.gmail.com> <Pine.LNX.4.44.0602211906020.7427-100000@matrix.gatewaynet.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