Re: How to define + operator for strings

From: "Andrus" <eetasoft(at)online(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to define + operator for strings
Date: 2006-04-28 16:35:20
Message-ID: e2tgdv$2c8m$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> text + text will tend to capture ambiguous cases,
> and thus possibly break queries that used to work (date + integer is a
> case that comes to mind as being at risk).

How to add + operator for strings so that date+integer expression is not
broken ?

> Refusing to deal with databases that can't handle the 14-year-old SQL
> standard spelling of concatenation would be a better plan IMHO --- if
> they can't get this right, it's unlikely that they are much better on
> a lot of other points that will be harder to work around.

I have huge amount of code written for this. Refusing is difficult.

Andrus.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2006-04-28 17:01:11 Re: Checking for Foreign Keys constraining a record?
Previous Message Csaba Nagy 2006-04-28 16:20:31 Re: Alternative for vacuuming queue-like tables