Re: point -> double,double ?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: point -> double,double ?
Date: 2003-01-17 20:02:55
Message-ID: 878yxj35ow.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Greg Stark <gsstark(at)mit(dot)edu> writes:
> > What are the operators or functions to extract the x and y portions of a
> > point? I can't find it in my book or in the online \do or \df output anywhere.
>
> point[0] and point[1]. Not sure if this is adequately documented.

Thank you very much.

It may also be that I just don't have the right book. The book I have seems to
be more of a tutorial than a reference. Is there a recommended reference book
for postgres?

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-01-17 20:18:18 Constraint of only one legal value for a foreign key
Previous Message Bruno Wolff III 2003-01-17 19:40:44 Re: point -> double,double ?