pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedmoney format
2+ messages / 2 participants
[nested] [flat]
* money format
@ 1998-11-11 18:09 Ken J. Wright <ken@ori-ind.com>
0 siblings, 0 replies; 2+ messages in thread
From: Ken J. Wright @ 1998-11-11 18:09 UTC (permalink / raw)
To: pgsql-interfaces
insert into table values (100);
insert into table values (100.);
insert into table values (100.00);
Error while executing the query;
WARN:Bad money external representation
100.000000 (1)
I've searched the docs, but I can not find how to enter a value in a money
field. It would seem that any number should sqeeze in, even with forced
rounding by the backend. It shouldn't be this hard ;-(
Tried with psql, libpq, BDD.
Ken
^ permalink raw reply [nested|flat] 2+ messages in thread
* RE: [INTERFACES] money format
@ 1998-11-11 19:03 Jackson, DeJuan <djackson@cpsgroup.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jackson, DeJuan @ 1998-11-11 19:03 UTC (permalink / raw)
To: Ken J. Wright <ken@ori-ind.com>; pgsql-interfaces
> insert into table values (100);
> insert into table values (100.);
> insert into table values (100.00);
>
> Error while executing the query;
> WARN:Bad money external representation
> 100.000000 (1)
>
> I've searched the docs, but I can not find how to enter a value in a
> money
> field. It would seem that any number should sqeeze in, even with
> forced
> rounding by the backend. It shouldn't be this hard ;-(
>
> Tried with psql, libpq, BDD.
>
> Ken
>
Don't what version you are using but using '100.23' works for me.
-DEJ
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-11-11 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-11-11 18:09 money format Ken J. Wright <ken@ori-ind.com>
1998-11-11 19:03 RE: [INTERFACES] money format Jackson, DeJuan <djackson@cpsgroup.com>
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