Re: WIP: hooking parser - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: WIP: hooking parser
Date
Msg-id 87d4ddw5qk.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: WIP: hooking parser  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:

>> Curiously enough, Oracle has it so that || of null arguments treats the
>> arguments as empty string.
>>
>> It's beyond comprehension.
>>
> what is result of '' || '' ?

Well the result of this is NULL of course (which is the same as '')

What's more puzzling is what the answer to 'foo' || NULL is...


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: WIP: hooking parser
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_restore --multi-thread