Re: Convert DECIMAL MySql field to PostGre. How? - Mailing list pgsql-general

From Tom Lane
Subject Re: Convert DECIMAL MySql field to PostGre. How?
Date
Msg-id 6697.1255275423@sss.pgh.pa.us
Whole thread Raw
In response to Re: Convert DECIMAL MySql field to PostGre. How?  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/10/11 Andre Lopes <lopes80andre@gmail.com>:
>> I have designed a database using MySql, but now I decided to move to
>> PostGre. I hava decimal fields with DECIMAL(10,6). How to convert this
>> fields to PostGre?

> use type NUMERIC(10,6)

DECIMAL works just fine too; it's an alias for NUMERIC.

            regards, tom lane

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: What is statement ID of table?
Next
From: Jignesh Shah
Date:
Subject: Re: What is statement ID of table?