Re: WIP: hooking parser

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: WIP: hooking parser
Дата
Msg-id 499C239F.7070706@gmx.net
обсуждение исходный текст
Ответ на Re: WIP: hooking parser  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: WIP: hooking parser  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: WIP: hooking parser  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule wrote:
> 2009/2/16 Tom Lane <tgl@sss.pgh.pa.us>:
>> Pavel Stehule <pavel.stehule@gmail.com> writes:
>>> Next sample of parser hook using:
>>> attachment contains module that transform every empty string to null.
>>> I am not sure, if this behave is exactly compatible with Oracle,
>> Surely a parser hook like this would have nothing whatsoever to do
>> with Oracle's behavior.
>>
>>                        regards, tom lane
>>
> 
> it's maybe too much simple :). It is sample that have to show possibility.

I'd be quite interested to support some kind of hook to deal with this 
Oracle null issue.  It would be a great help for porting projects.

However, doing this properly is probably more complex and needs further 
thought.  I'd suggest writing a type of regression test first for Oracle 
null behavior and then evaluating any kind of hook or hack against that.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_migrator progress
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_migrator progress