Re: keyword list/ecpg

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: keyword list/ecpg
Дата
Msg-id 10207.1213364983@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: keyword list/ecpg  (Mike Aubury <mike.aubury@aubit.com>)
Ответы Re: keyword list/ecpg
Список pgsql-hackers
Mike Aubury <mike.aubury@aubit.com> writes:
> I took a quick look at this - would it be ok to add some small amounts 
> of 'markup' to the gram.y ?
> eg : 

> /* ECPGCOPYON */
> ....
> /* ECPGCOPYOFF */

> /* ECPGMODE=NOSPACE */
> ...
> /* ECPGMODE=USESPACE */

We're almost certainly going to need some kluges of that sort, so as
long as they're not all over the place I won't object.

But ... I've seen no evidence that those specific examples are needed.
Why wouldn't we copy all the backend rules?  And based on Michael's last
comment it's unclear that we need to avoid adding spaces in the
mechanically generated actions, either (which squares with my gut
feeling about SQL syntax).  You'll probably need to get into specific
cases before finding out what kluges you need.
        regards, tom lane


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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Re: TODO Item: Allow pg_hba.conf to specify host names along with IP addresses
Следующее
От: Mike Aubury
Дата:
Сообщение: Re: keyword list/ecpg