Обсуждение: bug in edit grid

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

bug in edit grid

От
Дата:
I have the strange scenario where one of my tables has a primary key with a datatype of varchar, and one record in that
tablehas an empty string key i.e.
 

create table test (   id VARCHAR(255) NOT NULL,   test TEXT,   PRIMARY KEY (id)
) WITHOUT OIDS;

INSERT INTO test (id,test) VALUES ('', 'test string');

In the edit grid when I try to edit the test field the data can't be modified.

I'm using pgadminIII 1.6.3 on WinXP sp2 :)

Cheers
Jeremy



Re: bug in edit grid

От
Dave Page
Дата:
palmerj@xtra.co.nz wrote:
> I have the strange scenario where one of my tables has a primary key with a datatype of varchar, and one record in
thattable has an empty string key i.e.
 
> 
> create table test (
>     id VARCHAR(255) NOT NULL,
>     test TEXT,
>     PRIMARY KEY (id)
> ) WITHOUT OIDS;
> 
> INSERT INTO test (id,test) VALUES ('', 'test string');
> 
> In the edit grid when I try to edit the test field the data can't be modified.
> 
> I'm using pgadminIII 1.6.3 on WinXP sp2 :)

Thanks, fixed in SVN for the next release.

Regards, Dave