Re: substring problem - Mailing list pgsql-bugs

From Tom Lane
Subject Re: substring problem
Date
Msg-id 10858.1072888684@sss.pgh.pa.us
Whole thread Raw
In response to substring problem  (Sh A Guru Prasad <guru@ap.nic.in>)
List pgsql-bugs
Sh A Guru Prasad <guru@ap.nic.in> writes:
>  [ substr(x,1,13) is the same as substr(x,0,14) ]

This is not a bug, this is per SQL99 spec.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Sh A Guru Prasad
Date:
Subject: substring problem
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Spinlock support for linux-hppa?