Re: New string functions; initdb required

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New string functions; initdb required
Date: 2002-06-11 21:01:46
Message-ID: 20020611210146.GC24154@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 11, 2002 at 11:08:11AM -0700, Josh Berkus wrote:
> Thomas,
>
> > I've just committed changes which implement three SQL99 functions and
> > operators. OVERLAY() allows substituting a string into another string,
> > SIMILAR TO is an operator for pattern matching, and a new variant of
> > SUBSTRING() accepts a pattern to match.
>
> Way cool! Thank you ... this replaces several of my custom PL/pgSQL
> functions.
>
> How is SIMILAR TO different from ~ ?

From the part of Thomas's email you snipped:

Implement SQL99 SIMILAR TO as a synonym for our existing operator "~".

So the answer is "not at all"

Ross

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-06-11 21:27:37 Re: New string functions; initdb required
Previous Message Stephan Szabo 2002-06-11 20:52:21 Re: Referential integrity problem postgresql 7.2 ?