Обсуждение: Bug when renaming table

Поиск
Список
Период
Сортировка

Bug when renaming table

От
P GOUV
Дата:
This is minor bug. I am on windows 7 64 bit using the stable pgadmin.  <br />When i rename a table everything is fine.
Howeverwhen i rename a table and added new constraints etc i got error message that relation doesnt exist.. <br /> I
guessthat it uses the new name but in database it has the old name..<br />Generally the program needs work but it is
veryfast and reliable!<br /> 

Re: Bug when renaming table

От
Guillaume Lelarge
Дата:
On Mon, 2011-09-05 at 17:28 +0300, P GOUV wrote:
> This is minor bug. I am on windows 7 64 bit using the stable pgadmin.
> When i rename a table everything is fine. However when i rename a table and
> added new constraints etc i got error message that relation doesnt exist..
> I guess that it uses the new name but in database it has the old name..
> Generally the program needs work but it is very fast and reliable!

Works for me on 1.12.3+ and 1.14RC1. Which release do you use? which
constraints do you try to add?


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com



Re: Bug when renaming table

От
Guillaume Lelarge
Дата:
On Tue, 2011-09-06 at 00:03 +0300, P GOUV wrote:
> I added a new collumn and deleted one. Also i removed a constraint and added
> 2 new.Then i pressed OK and i got the error message.
> I put the current name again and everything was ok. THen i could change the
> name.
> 

OK, the issue comes when you drop the constraint. Thanks for finding
this bug. It's now fixed, but won't be in 1.14.0 though (too late).


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com