mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-19 21:07:07 +08:00
rather than the Postgres "::" notation. All of these tests have been completely inspected and give correct results.
16 lines
329 B
SQL
16 lines
329 B
SQL
--
|
|
-- TEXT
|
|
--
|
|
|
|
SELECT text 'this is a text string' = text 'this is a text string' AS true;
|
|
|
|
SELECT text 'this is a text string' = text 'this is a text strin' AS false;
|
|
|
|
CREATE TABLE TEXT_TBL (f1 text);
|
|
|
|
INSERT INTO TEXT_TBL VALUES ('doh!');
|
|
INSERT INTO TEXT_TBL VALUES ('hi de ho neighbor');
|
|
|
|
SELECT '' AS two, * FROM TEXT_TBL;
|
|
|