From: tjk@tksoft.com <tjk@tksoft.com>
To: pgsql-sql@postgreSQL.org
Cc: herouth@oumail.openu.ac.il
Subject: Re: [SQL] Expr Abbreviations/Functions?
Date: Sun, 25 Jul 1999 21:52:42 -0700 (PDT)
Message-ID: <199907260452.VAA30904@uno.tksoft.com> (raw)
In-Reply-To: <l03130302b3c0b7a3e162@[147.233.159.109]>
Herouth,
You're right.
If I recall the original question correctly, the
"only" real solution would seem to be to define
a function to search the appropriate fields.
Troy
Troy Korjuslommi Tksoft OY, Inc.
tjk@tksoft.com Software Development
Open Source Solutions
Hosting Services
>
> At 02:11 +0300 on 25/07/1999, tjk@tksoft.com wrote:
>
>
> > You could merge the fields and search with :
> >
> > select * from tablex where lower(f1||f2||f3) ~ 'foo';
>
> Nah. If f1 is 'Narf' and f2 is 'oodp', it will match...
>
> Herouth
>
> --
> Herouth Maoz, Internet developer.
> Open University of Israel - Telem project
> http://telem.openu.ac.il/~herutma
>
>
>
>
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: tjk@tksoft.com, herouth@oumail.openu.ac.il
Subject: Re: [SQL] Expr Abbreviations/Functions?
In-Reply-To: <199907260452.VAA30904@uno.tksoft.com>
References: <l03130302b3c0b7a3e162@[147.233.159.109]> <199907260452.VAA30904@uno.tksoft.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