| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Gregory Stark <stark(at)enterprisedb(dot)com> |
| Cc: | megous(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: ALTER TABLE name RENAME TO new_name; does not work immediately |
| Date: | 2008-08-10 01:58:17 |
| Message-ID: | 20080810015817.GA3759@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Gregory Stark escribió:
>
> <megous(at)gmail(dot)com> writes:
>
> > Here is a script that is able to reproduce the problem (on my machine
> > anyway), you may need to play with the number of rows or workmem
> > settings to be able to reproduce it:
>
> Egads, i can confirm that this script reproduces the problem on my machine as
> well:
>
> ALTER TABLE xxx RENAME TO yyy;
> ALTER TABLE
> ALTER TABLE yyy RENAME COLUMN col1 TO colA;
> ERROR: relation "yyy" does not exist
On what version? Sounds like a problem in sinval message processing.
I could not reproduce it here, but didn't try very hard.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Stark | 2008-08-10 02:26:15 | Re: ALTER TABLE name RENAME TO new_name; does not workimmediately |
| Previous Message | Gregory Stark | 2008-08-10 00:50:33 | Re: ALTER TABLE name RENAME TO new_name; does not work immediately |