From: | TANIDA Yutaka <tanida(at)sra(dot)co(dot)jp> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | pgsql-bugs(at)postgresql(dot)org, mitani(at)sraw(dot)co(dot)jp |
Subject: | Re: 8.0 ecpg crashes with "create table as" statement. |
Date: | 2005-02-10 04:05:18 |
Message-ID: | 20050210115535.B15D.TANIDA@sra.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, 9 Feb 2005 12:27:13 +0100
Michael Meskes <meskes(at)postgresql(dot)org> wrote:
> Thanks for the report and the patch. I just committed it to CVS HEAD and
> the 8.0 branch. 7.4 does not suffer from this bug.
Probably, "create sequence" and "create domain" have same problems. Here's
a patch for preproc.y .
It's reported by Atsushi Mitani(mitani(at)sraw(dot)co(dot)jp) in Japanese ML.
=============================================================
--- preproc.y.org 2005-02-07 09:18:44.000000000 +0900
+++ preproc.y 2005-02-10 11:17:03.000000000 +0900
@@ -1621,7 +1621,7 @@
*****************************************************************************/
CreateSeqStmt: CREATE OptTemp SEQUENCE qualified_name OptSeqList
- { $$ = cat_str(4, make_str("create"), $2, make_str("sequence"), $4,$5); }
+ { $$ = cat_str(5, make_str("create"), $2, make_str("sequence"), $4,$5); }
;
AlterSeqStmt: ALTER SEQUENCE qualified_name OptSeqList
@@ -2705,7 +2705,7 @@
CreateDomainStmt: CREATE DOMAIN_P any_name opt_as Typename ColQualList
{
- $$ = cat_str(55555, make_str("create domain"), $3, $4, $5, $6);
+ $$ = cat_str(5, make_str("create domain"), $3, $4, $5, $6);
}
;
--
TANIDA Yutaka <tanida(at)sra(dot)co(dot)jp>
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2005-02-10 06:41:25 | Re: BUG #1473: Backend bus error, possibly due to ANALYZE |
Previous Message | Brian B. | 2005-02-10 02:37:30 | BUG #1473: Backend bus error, possibly due to ANALYZE |