problem with query in postgres 6.5 - Mailing list pgsql-bugs

From praveen vejandla
Subject problem with query in postgres 6.5
Date
Msg-id 20020711132131.8516.qmail@webmail10.rediffmail.com
Whole thread Raw
Responses Re: problem with query in postgres 6.5
List pgsql-bugs
Hi,

I was able to run the below query successfully on PostgreSQL
7.0.

SELECT substring(now() from 1 for 10);

How ever if I run the same query on PostgreSQL 6.5, I am getting
the below error.

No such function 'substr' with the specified attributes.

Can you pls let me know if there is any solution for this.

Thanks and Regards,
Praveen
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.rediff.com/jobs

pgsql-bugs by date:

Previous
From: David Busby
Date:
Subject: postgres.h MACRO issues
Next
From: "praveen vejandla"
Date:
Subject: getting only date