postgresql/src/test/regress/expected/text.out

26 lines
476 B
Plaintext

--
-- TEXT
--
SELECT text 'this is a text string' = text 'this is a text string' AS true;
true
------
t
(1 row)
SELECT text 'this is a text string' = text 'this is a text strin' AS false;
false
-------
f
(1 row)
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;
two | f1
-----+-------------------
| doh!
| hi de ho neighbor
(2 rows)