point(lseg,lseg) does not exist

From: Shane <shane-pgsql(at)cm(dot)nu>
To: pgsql-general(at)postgresql(dot)org
Subject: point(lseg,lseg) does not exist
Date: 2005-07-18 17:40:58
Message-ID: 20050718174058.GA32314@cm.nu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am attempting a query using lseg values to find the point
of intersection. The following query taken from the PG
manual isn't working over here.

select
point(lseg '((-1,0),(1,0))', lseg
'((-2,-2),(2,2))')
ERROR: function point(lseg, lseg) does not exist
HINT: No function matches the given name and argument
types. You may need to add explicit type casts.

Do I need to declare this function somewhere? Pg version
7.4.7 (debian rev 6 Sarge).

Best regards,
Shane

--
Shane Wegner
http://www.cm.nu/~shane/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-07-18 17:41:30 Re: Error while vacuuming
Previous Message Akash Garg 2005-07-18 17:35:40 Re: Error while vacuuming