Re: checking variadic "any" argument in parser - should be array

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: checking variadic "any" argument in parser - should be array
Дата
Msg-id CAFj8pRC7vST1NRvQA3Rq0Xarg1XU6Xk2GADZRmEPbRbJRKe+jQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: checking variadic "any" argument in parser - should be array  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Ответы Re: checking variadic "any" argument in parser - should be array  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Список pgsql-hackers
Hello

remastered version

Regards

Pavel

2013/6/26 Jeevan Chalke <jeevan.chalke@enterprisedb.com>:
> Hi Pavel
>
>
> On Sat, Jan 26, 2013 at 9:22 AM, Pavel Stehule <pavel.stehule@gmail.com>
> wrote:
>>
>> Hello Tom
>>
>> you did comment
>>
>> ! <----><------><------> * Non-null argument had better be an array.
>> The parser doesn't
>> ! <----><------><------> * enforce this for VARIADIC ANY functions
>> (maybe it should?), so
>> ! <----><------><------> * that check uses ereport not just elog.
>> ! <----><------><------> */
>>
>> So I moved this check to parser.
>>
>> It is little bit stricter - requests typed NULL instead unknown NULL,
>> but it can mark error better and early
>
>
> Tom suggested that this check should be better done by parser.
> This patch tries to accomplish that.
>
> I will go review this.
>
> However, is it possible to you to re-base it on current master? I can't
> apply it using "git apply" but patch -p1 was succeeded with lot of offset.
>
> Thanks
>
>>
>>
>> Regards
>>
>> Pavel
>>
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>
>
>
>
> --
> Jeevan B Chalke
> Senior Software Engineer, R&D
> EnterpriseDB Corporation
> The Enterprise PostgreSQL Company
>
> Phone: +91 20 30589500
>
> Website: www.enterprisedb.com
> EnterpriseDB Blog: http://blogs.enterprisedb.com/
> Follow us on Twitter: http://www.twitter.com/enterprisedb
>
> This e-mail message (and any attachment) is intended for the use of the
> individual or entity to whom it is addressed. This message contains
> information from EnterpriseDB Corporation that may be privileged,
> confidential, or exempt from disclosure under applicable law. If you are not
> the intended recipient or authorized to receive this for the intended
> recipient, any use, dissemination, distribution, retention, archiving, or
> copying of this communication is strictly prohibited. If you have received
> this e-mail in error, please notify the sender immediately by reply e-mail
> and delete this message.

Вложения

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

Предыдущее
От: Szymon Guz
Дата:
Сообщение: Re: Add more regression tests for CREATE OPERATOR
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: pg_filedump 9.3: checksums (and a few other fixes)