Re: [HACKERS] Bug in gram.y?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Bug in gram.y?
Дата
Msg-id 199808031820.OAA03170@candle.pha.pa.us
обсуждение исходный текст
Ответ на Bug in gram.y?  ("Dr. Michael Meskes" <meskes@online-club.de>)
Ответы Re: [HACKERS] Bug in gram.y?
Список pgsql-hackers
> It appears to me that there is a bug in gram.y. From looking at the code
> (while working on ecpg) it seems that it doesn't accept a createdb with th
> eoption: with location = ... but without the option with encoding = ...

Looks fine to me:

opt_database1:  LOCATION '=' location           { $$ = $3; }
        | /*EMPTY*/                             { $$ = NULL; }
        ;

opt_database2:  ENCODING '=' encoding           { $$ = $3; }
        | /*EMPTY*/                             { $$ = NULL; }
        ;



--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: "Dr. Michael Meskes"
Дата:
Сообщение: Bug in gram.y?
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Text indexes...