pgcrypto - Mailing list pgsql-general

From Ramesh T
Subject pgcrypto
Date
Msg-id CAK8Zd=sn8C_w-xmU3qpOmODQg0zLNDsKBKKqaxzwPpA=Y10WLQ@mail.gmail.com
Whole thread Raw
Responses Re: pgcrypto
List pgsql-general
Hi,
      i   created extension pgcrypto on public with postgres user.But while trying to use from my own schma suppose qa.

when i run digest in function  in my qa 

 CREATE OR REPLACE FUNCTION sha1(bytea) returns text AS $$
      SELECT encode(digest($1, 'sha1'), 'hex')
    $$ LANGUAGE SQL STRICT IMMUTABLE;

it return error;
 when i install pgcrypto using postgres user  on qa,installed all pgcrypto function placed in qa function it looks confused.

what should i do how to access the pgcrypto of public and we need to create extension on each schema..??

pgsql-general by date:

Previous
From: Francisco Olarte
Date:
Subject: Re: Table using more disk space than expected
Next
From: Merlin Moncure
Date:
Subject: Re: OR vs UNION vs UNION ALL