mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
8 lines
212 B
SQL
8 lines
212 B
SQL
CREATE EXTENSION chkpass;
|
|
|
|
CREATE TABLE test (i int, p chkpass);
|
|
INSERT INTO test VALUES (1, 'hello'), (2, 'goodbye');
|
|
|
|
SELECT i, p = 'hello' AS "hello?" FROM test;
|
|
SELECT i, p <> 'hello' AS "!hello?" FROM test;
|