Re: ecpg: INITALLY DEFERRED translated into intially deferrable - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: ecpg: INITALLY DEFERRED translated into intially deferrable
Date
Msg-id 200107111730.f6BHUpO16276@candle.pha.pa.us
Whole thread Raw
In response to ecpg: INITALLY DEFERRED translated into intially deferrable  (pgsql-bugs@postgresql.org)
List 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 by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: PL/pgSQL triggers with parameters don't work
Next
From: Stephan Szabo
Date:
Subject: Re: PL/pgSQL triggers with parameters don't work