pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bhuvan A <bhuvansql@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: combination of 'textcat' and 'interval' in 7.2.
Date: Wed, 20 Feb 2002 17:32:07 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0202201723150.8841-100000@Larry> (raw)


hi,

just a day back, i did upgrade to 7.2(from 7.1.2).

In my plpgsql functions, i did use(in 7.1.2) 
SELECT INTO <variable> interval(textcat (4, '' hours''));

But now, i do use (in 7.2)
SELECT INTO <variable> cast (textcat (4, '' hours'') as interval);

and it works.

is this a permanent fix? will it work in earlier and future releases?
Would like to get some links on migration of plpgsql functions from
7.1.x to 7.2?

Regards,
Bhuvaneswar.




view thread (2+ messages)  latest in thread

Message-ID: <Pine.LNX.4.20.0202201723150.8841-100000@Larry>
Permalink:  ../Pine.LNX.4.20.0202201723150.8841-100000@Larry/
Also on:    postgresql.org/message-id/Pine.LNX.4.20.0202201723150.8841-100000@Larry

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bhuvansql@yahoo.com
  Subject: Re: combination of 'textcat' and 'interval' in 7.2.
  In-Reply-To: <Pine.LNX.4.20.0202201723150.8841-100000@Larry>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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