Re: How do I create a box from fields in a table?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: Rob Richardson <RDRichardson(at)rad-con(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How do I create a box from fields in a table?
Date: 2013-10-18 15:33:33
Message-ID: 8857.1382110413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"D'Arcy J.M. Cain" <darcy(at)druid(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dinesh kumar 2013-10-18 15:35:26 Re: when do I analyze after concurrent index creation?
Previous Message D'Arcy J.M. Cain 2013-10-18 15:25:33 Re: How do I create a box from fields in a table?