Re: ecpg: INITALLY DEFERRED translated into intially deferrable

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ecpg: INITALLY DEFERRED translated into intially deferrable
Дата
Msg-id 200107111730.f6BHUpO16276@candle.pha.pa.us
обсуждение исходный текст
Ответ на ecpg: INITALLY DEFERRED translated into intially deferrable  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
>  () reports a bug with a severity of 3
> The lower the number the more severe it is.
>
> Short Description
> ecpg: INITALLY DEFERRED translated into intially deferrable
>
> Long Description
> The SQL preprocessor ecpg generates "initially deferrable" from
> INITIALLY DEFERRED in source code. cf. preproc.y:1455.

Good catch.  Patch applied.  I checked the others and they looked OK.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
Index: src/interfaces/ecpg/preproc/preproc.y
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/preproc.y,v
retrieving revision 1.143
diff -c -r1.143 preproc.y
*** src/interfaces/ecpg/preproc/preproc.y    2001/07/10 22:09:29    1.143
--- src/interfaces/ecpg/preproc/preproc.y    2001/07/11 17:28:35
***************
*** 1460,1466 ****
                  ;

  ConstraintTimeSpec: INITIALLY IMMEDIATE        { $$ = make_str("initially immediate"); }
!                 | INITIALLY DEFERRED    { $$ = make_str("initially deferrable"); }
                  ;

  DropTrigStmt:  DROP TRIGGER name ON relation_name
--- 1460,1466 ----
                  ;

  ConstraintTimeSpec: INITIALLY IMMEDIATE        { $$ = make_str("initially immediate"); }
!                 | INITIALLY DEFERRED    { $$ = make_str("initially deferred"); }
                  ;

  DropTrigStmt:  DROP TRIGGER name ON relation_name

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: PL/pgSQL triggers with parameters don't work
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: PL/pgSQL triggers with parameters don't work