Re: How do I create a box from fields in a table? - Mailing list pgsql-general

From Tom Lane
Subject Re: How do I create a box from fields in a table?
Date
Msg-id 8857.1382110413@sss.pgh.pa.us
Whole thread Raw
In response to Re: How do I create a box from fields in a table?  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-general
"D'Arcy J.M. Cain" <darcy@druid.net> writes:
> ...  In fact, this seems to work already if
> quotes are added:

>     box('(0, 1), (2, 3)')

Well, that's just another spelling for a box literal, which is exactly
what the OP *doesn't* want, since he's trying to construct a box value
from non-constant values.

            regards, tom lane


pgsql-general by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: How do I create a box from fields in a table?
Next
From: dinesh kumar
Date:
Subject: Re: when do I analyze after concurrent index creation?