typo in src/interfaces/ecpg/preproc/preproc.y

From: Brent Verner <brent(at)rcfile(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: typo in src/interfaces/ecpg/preproc/preproc.y
Date: 2001-10-05 03:38:24
Message-ID: 20011004233824.A2587@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

In trying to solve a bug in 'ALTER TABLE tbl RENAME col1 TO col2',I
noticed (what must be) a typo in src/interfaces/ecpg/preproc/preproc.y
patch attached, tho it might be easier if you just look for this
line in the file:

opt_column: COLUMN { $$ = make_str("colmunn"); }

Back to that original bug...

'ALTER TABLE tbl RENAME col1 TO col2' does not update any indices that
reference the old column name. Any suggestions to get this worked out
would be appreciated :-) I'll have some time this weekend to dig into
this, and would /really/ to tackle this myself.

cheers.
Brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2001-10-05 07:52:14 Re: Problem on AIX with current
Previous Message Bruce Momjian 2001-10-05 02:38:40 Re: [HACKERS] Problem on AIX with current