Re: Pgcrypto install (I've tried multiple ways)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pgcrypto install (I've tried multiple ways)
Дата
Msg-id 8753.1296170102@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Pgcrypto install (I've tried multiple ways)  ("David Patricola" <david.patricola@jefferson.edu>)
Ответы Re: Pgcrypto install (I've tried multiple ways)  ("David Patricola" <david.patricola@jefferson.edu>)
Список pgsql-novice
"David Patricola" <david.patricola@jefferson.edu> writes:
> I ran the script under database 'testdb', and that's the database I'm
> viewing when in pgAdmin. Here's what \df decript gave me:

> Schema |  Name   | Result data type | Argument data types |  Type
> -------+---------+------------------+---------------------+--------
> public | decrypt | bytea            | bytea, bytea, text  | normal


> (it finds all of the functions, in fact)

> However, when I run this query it says it can't find the function with the
> given name and datatypes.

> select decrypt(thenotes, 'thekey', 'aes') AS theoutput
> from footable

So is "thenotes" of type bytea?

            regards, tom lane

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

Предыдущее
От: "David Patricola"
Дата:
Сообщение: Re: Pgcrypto install (I've tried multiple ways)
Следующее
От: "David Patricola"
Дата:
Сообщение: Re: Pgcrypto install (I've tried multiple ways)