2011-02-14 09:06:41 +08:00
|
|
|
/* contrib/chkpass/chkpass--unpackaged--1.0.sql */
|
|
|
|
|
2011-10-13 03:45:03 +08:00
|
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
2014-08-26 00:30:37 +08:00
|
|
|
\echo Use "CREATE EXTENSION chkpass FROM unpackaged" to load this file. \quit
|
2011-10-13 03:45:03 +08:00
|
|
|
|
2011-02-14 09:06:41 +08:00
|
|
|
ALTER EXTENSION chkpass ADD type chkpass;
|
|
|
|
ALTER EXTENSION chkpass ADD function chkpass_in(cstring);
|
|
|
|
ALTER EXTENSION chkpass ADD function chkpass_out(chkpass);
|
|
|
|
ALTER EXTENSION chkpass ADD function raw(chkpass);
|
|
|
|
ALTER EXTENSION chkpass ADD function eq(chkpass,text);
|
|
|
|
ALTER EXTENSION chkpass ADD function ne(chkpass,text);
|
|
|
|
ALTER EXTENSION chkpass ADD operator <>(chkpass,text);
|
|
|
|
ALTER EXTENSION chkpass ADD operator =(chkpass,text);
|