pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Are there any changes to INTERVAL in 7.2
2+ messages / 2 participants
[nested] [flat]

* Are there any changes to INTERVAL in 7.2
@ 2002-11-12 01:35 Mr OCP <mr_ocp@hotmail.com>
  2002-11-12 01:55 ` Re: Are there any changes to INTERVAL in 7.2 Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mr OCP @ 2002-11-12 01:35 UTC (permalink / raw)
  To: pgsql-admin

Hi

The following query involving INTERVAL works very well in 7.1 but does not 
work under 7.2

SELECT order_id FROM order
WHERE  order_date + INTERVAL
(term ||'year') < current_timestamp;

Are there any changes to this functionality in 7.2 from 7.1.

Please comment
Thanks
Khat




_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Are there any changes to INTERVAL in 7.2
  2002-11-12 01:35 Are there any changes to INTERVAL in 7.2 Mr OCP <mr_ocp@hotmail.com>
@ 2002-11-12 01:55 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2002-11-12 01:55 UTC (permalink / raw)
  To: Mr OCP <mr_ocp@hotmail.com>; +Cc: pgsql-admin


On Mon, 11 Nov 2002, Mr OCP wrote:

> Hi
>
> The following query involving INTERVAL works very well in 7.1 but does not
> work under 7.2
>
> SELECT order_id FROM order
> WHERE  order_date + INTERVAL
> (term ||'year') < current_timestamp;
>
> Are there any changes to this functionality in 7.2 from 7.1.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-11-12 01:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12 01:35 Are there any changes to INTERVAL in 7.2 Mr OCP <mr_ocp@hotmail.com>
2002-11-12 01:55 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox