Re: function digest(iso-8859-1, iso-8859-1) does not exist

Поиск
Список
Период
Сортировка
От Ian Lawrence Barwick
Тема Re: function digest(iso-8859-1, iso-8859-1) does not exist
Дата
Msg-id CAB8KJ=jjEkvRcp4En+Wrdsz4=AZrrdFv7tuiybJh_xNhd4uhwg@mail.gmail.com
обсуждение исходный текст
Ответ на function digest(iso-8859-1, iso-8859-1) does not exist  (dbatoCloud Solution <dbatocloud17@gmail.com>)
Список pgsql-admin
2021年2月10日(水) 19:26 dbatoCloud Solution <dbatocloud17@gmail.com>:
Hi All,
While executing this below function I'm facing this error. 
Let me know if someone had the same issue in postgresql 10.x

ERROR:  function digest(unknown, unknown) does not exist
LINE 1: select encode(digest('123', 'sha256'),'hex');
                      ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
SQL state: 42883
Character: 15

You probably need to install the pgcrypto extension, which contains this function [1]


 
Regards

Ian Barwick

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

Предыдущее
От: dbatoCloud Solution
Дата:
Сообщение: function digest(iso-8859-1, iso-8859-1) does not exist
Следующее
От: Pepe TD Vo
Дата:
Сообщение: setup replica master slave in AWS Linux 2