small bug fix for ecpg

Started by Michael Meskesalmost 27 years ago3 messages
#1Michael Meskes
Michael_Meskes@topmail.de
1 attachment(s)

Let's you create a table again.

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net | Use PostgreSQL!

Attachments:

ecpg.patchtext/plain; charset=us-asciiDownload
*** ecpg/preproc/preproc.y.orig	Thu Feb  4 07:15:51 1999
--- ecpg/preproc/preproc.y	Thu Feb  4 11:50:38 1999
***************
*** 1098,1104 ****
  CreateStmt:  CREATE OptTemp TABLE relation_name '(' OptTableElementList ')'
  				OptInherit
  				{
! 					$$ = cat5_str(make1_str("create"), $2, make1_str("table"), make3_str(make1_str("("), $6, make1_str(")")), $8);
  				}
  		;
  
--- 1098,1104 ----
  CreateStmt:  CREATE OptTemp TABLE relation_name '(' OptTableElementList ')'
  				OptInherit
  				{
! 					$$ = cat3_str(cat4_str(make1_str("create"), $2, make1_str("table"), $4), make3_str(make1_str("("), $6, make1_str(")")), $8);
  				}
  		;
  
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Michael Meskes (#1)
Re: [HACKERS] small bug fix for ecpg

Let's you create a table again.

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net | Use PostgreSQL!

I am sure my temp table stuff is going to mess you up. Sorry. No way
to add that stuff without affecting you.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@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
#3Michael Meskes
Michael_Meskes@topmail.de
In reply to: Bruce Momjian (#2)
Re: [HACKERS] small bug fix for ecpg

On Thu, Feb 04, 1999 at 12:15:06PM -0500, Bruce Momjian wrote:

I am sure my temp table stuff is going to mess you up. Sorry. No way

Not exactly. I merged your changes in it and producerd a bug. My fault.

to add that stuff without affecting you.

No problem.

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net | Use PostgreSQL!