Re: Casting to money - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: Casting to money
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380ABB2040@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to Casting to money  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
> postgres=# select "123.45"::money;
> ERROR:  column "123.45" does not exist
> LINE 1: select "123.45"::money;
>                 ^
> postgres=# select "$123.45"::money;
> ERROR:  column "$123.45" does not exist
> LINE 1: select "$123.45"::money;
>                 ^

You are on the wrong mailing list :^) Try pgsql-general.

http://www.postgresql.org/docs/8.1/static/sql-syntax.html#SQL-SYNTAX-IDE
NTIFIERS

Anything between double quotes is an identifier.

Yours,
Laurenz Albe


pgsql-hackers by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Casting to money
Next
From: Csaba Nagy
Date:
Subject: Re: pg_dump exclusion switches and functions/types