mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
aa4c702eac
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
18 lines
193 B
Plaintext
18 lines
193 B
Plaintext
--
|
|
-- init pgcrypto
|
|
--
|
|
\set ECHO none
|
|
-- check for encoding fn's
|
|
SELECT encode('foo', 'hex');
|
|
encode
|
|
--------
|
|
666f6f
|
|
(1 row)
|
|
|
|
SELECT decode('666f6f', 'hex');
|
|
decode
|
|
--------
|
|
foo
|
|
(1 row)
|
|
|