Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour
Дата
Msg-id 162867791001150036u4abf855egeaa6ef85422d5f1e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Ответы Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Список pgsql-general
>
> 3. Then I need to add the TABLE-level CHECK condition in order to
> exploit the "constraint_exclusion = on":
>            execute $l2$
>              alter table $l2$||ct||$l2$
>                add check(  $l0$||co||$l0$ )
>            $l2$ using $l0$||va||$l0$;
>

I am sorry, I am out. Your code isn't much readable:

Minimally there isn't placeholder - some like $x

It is game for the most cryptografic code :).

You searching a functionality that isn't in pg now :(. Clause USING
doesn't work like macros or templates in C++

look on this page - maybe it could be useful for you
http://wiki.postgresql.org/wiki/Sprintf

Regards
Pavel

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

Предыдущее
От: Vincenzo Romano
Дата:
Сообщение: Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour
Следующее
От: Vincenzo Romano
Дата:
Сообщение: Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour