Is it possible to default all number data to numeric type?

Поиск
Список
Период
Сортировка
От plshelpme@my-deja.com (Pls Help Me)
Тема Is it possible to default all number data to numeric type?
Дата
Msg-id 114e101c.0108290213.80e8c99@posting.google.com
обсуждение исходный текст
Ответы Re: Is it possible to default all number data to numeric type?  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
My company had a old program with written by Powerbuilder. It work
fine in MSSQL 6.5.
Now, my boss required to use another SQL server.  Someone told me
PostgreSQL is totally free and powerful.  I installed it in a Linux
machine (RedHat 7 + PostgreSQL 7.1.2), and transfer the old data from
MSSQL 6.5 server. It work fine.
However, when I run the old program.  When I try to update some record
with numeric type field, it show error as below.

Unable to identify an operator '=' for types 'numeric' and 'float8'...
You will have to retype this query using an explicit cast.

The point is the software house closed, I can't find any programmer.
>_<
So, I want to know is it possible to set the numeric type to default??
Or any easy way to fix it up?

P.S. My English is bad, pls. forgive me.

В списке pgsql-general по дате отправления:

Предыдущее
От: GB Clark II
Дата:
Сообщение: Getting data out of database with a bad WAL file
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Locate on Max() and Group By