blob: ca99f8f7c69ce6175e8931deb3c877a679200086 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
QUERY: SELECT 'this is a text string'::text = 'this is a text string'::text AS true;
true
----
t
(1 row)
QUERY: SELECT 'this is a text string'::text = 'this is a text strin'::text AS false;
false
-----
f
(1 row)
QUERY: CREATE TABLE TEXT_TBL (f1 text);
QUERY: INSERT INTO TEXT_TBL VALUES ('doh!');
QUERY: INSERT INTO TEXT_TBL VALUES ('hi de ho neighbor');
QUERY: SELECT '' AS two, * FROM TEXT_TBL;
two|f1
---+-----------------
|doh!
|hi de ho neighbor
(2 rows)
|