Re: ecpg & 8.3 -> 8.4 migration
От | Tom Lane |
---|---|
Тема | Re: ecpg & 8.3 -> 8.4 migration |
Дата | |
Msg-id | 19966.1258761731@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | ecpg & 8.3 -> 8.4 migration (Bosco Rama <postgres@boscorama.com>) |
Ответы |
Re: ecpg & 8.3 -> 8.4 migration
Re: ecpg & 8.3 -> 8.4 migration |
Список | pgsql-interfaces |
Bosco Rama <postgres@boscorama.com> writes: > According to the PG docs 'server' is a *non-reserved* > keyword. Does ecpg treat it as a reserved word? Upon poking around in the ecpg sources, I discover that it has its own list of "unreserved" keywords and pays no attention whatsoever to the core grammar's unreserved_keyword list. I can hardly find words to express my dissatisfaction with that. The unreserved_keyword list might not be the single most-likely-to-change production in the core grammar, but it's got to be right up there in the top two or three. This little shortcut means that all the work done last year to generate the ecpg grammar from core was practically useless --- we still have to worry about manually maintaining the ecpg grammar any time we change core. This has *got* to be fixed. The lack of obvious feedback about keywords not included in any keyword list means that manual maintenance is guaranteed to fail, as indeed it's already done, per this report. regards, tom lane
В списке pgsql-interfaces по дате отправления: