Backslah in encrypt function.

Поиск
Список
Период
Сортировка
От Nalin Bakshi
Тема Backslah in encrypt function.
Дата
Msg-id 46A742CA.2050609@bisil.com
обсуждение исходный текст
Ответы Re: Backslah in encrypt function.  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Hi,
    I have come on a problem regarding encryption. I am firing a simple
select statement:

select encrypt('\\','abcd','bf');

I want to use \ for encryption but I get the error:
            "invalid input syntax for type bytea"

I tried using \\\\ to encrypt \ , but on decryption I get \\ instead of
\ (single backslash).

Could someone guide me regarding this,

Thanks in advance,
Nalin Bakshi.

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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: a few questions (and doubts) about xid
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: a few questions (and doubts) about xid