"Geoff Tolley" <geoff.tol...@yougov.com> wrote:
 
> postgres=# SELECT 'hello' WHERE '1' IN ('1'
> postgres(#  '2');
 
Per the SQL standard, that is the same as
 
SELECT 'hello' WHERE '1' IN ('12');
 
I believe that's intended to make it easier to code long string
literals without creating query text which has long line lengths, but
they (understandably) don't require a minimum length for the string
fragments.
 
-Kevin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to