Re: Table constraints and INSERT - Mailing list pgsql-sql

From Tom Lane
Subject Re: Table constraints and INSERT
Date
Msg-id 19595.1147875172@sss.pgh.pa.us
Whole thread Raw
In response to Re: Table constraints and INSERT  (Niklas Johansson <spot@tele2.se>)
List pgsql-sql
Niklas Johansson <spot@tele2.se> writes:
> You must cast the integer column to a float or numeric, try:

Since the CHECK is expecting an exact result, better use numeric.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Recursive SELECT problem
Next
From: Emi Lu
Date:
Subject: Add column and specify the column position in a table