Re: Re: position('' in '') returns 1 instead of 0

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, terry(at)greatbridge(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: position('' in '') returns 1 instead of 0
Date: 2001-04-19 04:31:16
Message-ID: 3ADE6A14.4C72A32A@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
>
> Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> > So now the question is what the ODBC standard says locate() should
> > return.
>
> Wups. I neglected to notice the disconnect between the message subject
> and body... but you are right, "locate" might not be the same as
> "position" :-(
>

Hmm where is locate() changed to position() ?
ISTM neither psqlodbc driver nor pg backend changes the
function call locate() to position(.. in ..).

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Lockhart 2001-04-19 13:20:43 Re: position('' in '') returns 1 instead of 0
Previous Message Tom Lane 2001-04-18 22:11:54 Re: position('' in '') returns 1 instead of 0