psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist
В списке pgsql-general по дате отправления:
| От | gzh |
|---|---|
| Тема | psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist |
| Дата | |
| Msg-id | 328d2a0.828a.18799afd0ac.Coremail.gzhcoder@126.com обсуждение |
| Ответы |
Re: psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist
|
| Список | pgsql-general |
Hi,
I upgraded the version of PostgreSQL from 12.10 to 12.13,
when I insert data into the t_mstr table, the to_char function in the t_mstr's trigger caused the following error.
psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist
There is no problem before the upgrade and to_char(numeric) function comes from the Orafce extension.
The configuration of the old and new databases is as follows.
Database server (old): PostgreSQL 12.10(orafce3.15)
Database server (new): PostgreSQL 12.13(orafce3.24)
The new database has successfully installed the orafce 3.24 extension.
It does not occur in "PostgreSQL 12.10 and orafce 3.15",
but occurs in "PostgreSQL 12.13 and orafce 3.24",
so either the difference between 12.10 and 12.13 or the difference between orafce 3.15 and 3.24 is suspicious.
What is the reason for the problem?
Regards
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера