~ubuntu-branches/ubuntu/trusty/postgresql-8.4/trusty

« back to all changes in this revision

Viewing changes to src/test/regress/expected/strings.out

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
903
903
(1 row)
904
904
 
905
905
--
 
906
-- test %/_ combination cases, cf bug #4821
 
907
--
 
908
SELECT 'foo' LIKE '_%' as t, 'f' LIKE '_%' as t, '' LIKE '_%' as f;
 
909
 t | t | f 
 
910
---+---+---
 
911
 t | t | f
 
912
(1 row)
 
913
 
 
914
SELECT 'foo' LIKE '%_' as t, 'f' LIKE '%_' as t, '' LIKE '%_' as f;
 
915
 t | t | f 
 
916
---+---+---
 
917
 t | t | f
 
918
(1 row)
 
919
 
 
920
SELECT 'foo' LIKE '__%' as t, 'foo' LIKE '___%' as t, 'foo' LIKE '____%' as f;
 
921
 t | t | f 
 
922
---+---+---
 
923
 t | t | f
 
924
(1 row)
 
925
 
 
926
SELECT 'foo' LIKE '%__' as t, 'foo' LIKE '%___' as t, 'foo' LIKE '%____' as f;
 
927
 t | t | f 
 
928
---+---+---
 
929
 t | t | f
 
930
(1 row)
 
931
 
 
932
--
906
933
-- test implicit type conversion
907
934
--
908
935
-- E021-07 character concatenation