Re: PostgresSQL 9.2 Installation - Mailing list pgadmin-support

From Raymond O'Donnell
Subject Re: PostgresSQL 9.2 Installation
Date
Msg-id 511B8E85.2040603@iol.ie
Whole thread Raw
In response to PostgresSQL 9.2 Installation  (Vanukuri Pravallika <vanukuri.pravallika@tcs.com>)
List pgadmin-support
On 13/02/2013 07:27, Vanukuri Pravallika wrote:
> Hi Team,
>  
> I have installed "PostgreSQL 9.2 in my local machine". And I am trying
> to execute the below statement.
> statement:
> "*DECLARE v_num number".*
>  
> And I am getting the below error:
> * type "number" does not exist.*
> 
> And its not supporting any oracle data types functions.As I
> knew "PostgressSQL9.2" supports pl/sql data types and functions.
> 
>  Kindly suggest what can be the issue and how to go about it  

You probably want the NUMERIC type. The data types available in pl/pgsql
are the same as for plain SQL:
 http://www.postgresql.org/docs/9.2/static/datatype.html

Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie



pgadmin-support by date:

Previous
From: Vanukuri Pravallika
Date:
Subject: PostgresSQL 9.2 Installation
Next
From: "Little, Douglas"
Date:
Subject: query saved during crash