Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: terry(at)greatbridge(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: position('' in '') returns 1 instead of 0
Date: 2001-04-18 22:11:54
Message-ID: 16653.987631914@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
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" :-(

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Hiroshi InoueDate: 2001-04-19 04:31:16
Subject: Re: Re: position('' in '') returns 1 instead of 0
Previous:From: Peter EisentrautDate: 2001-04-18 21:56:57
Subject: Re: position('' in '') returns 1 instead of 0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group