Re: Paste rows patch
От | Dave Page |
---|---|
Тема | Re: Paste rows patch |
Дата | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E40138802F@ratbert.vale-housing.co.uk обсуждение исходный текст |
Ответ на | Paste rows patch ("Edward Di Geronimo Jr." <edigeronimo@xtracards.com>) |
Ответы |
Re: Paste rows patch
|
Список | pgadmin-hackers |
> -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of > Edward Di Geronimo Jr. > Sent: 10 May 2006 00:43 > To: pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Paste rows patch > > Quoting Dave Page <dpage@vale-housing.co.uk>: > > > We enable/disable the save button on the entry/exit of a cell - see > > frmEditGrid::OnEditorShown() & frmEDitGrid::OnSave(). Does > that look > > robust enough to use to set a flag? > > Got a solution. I set a flag in OnEditorShown, and trapped > the editor hidden event to clear it. Here's a new patch. Nice - that works. Unfortunately I found another problem - the serial column doesn't seem to work I suspect because you are looking for columns that are PGOID_TYPE_SERIAL or PGOID_TYPE_SERIAL8, however they actually get seen as int4's or int8's I believe. I'm testing with 8.1.3 and a table that looks like: CREATE TABLE foo ( id serial NOT NULL, data1 text, data2 text, data3 text, CONSTRAINT foo_pkey PRIMARY KEY (id) ) WITH OIDS; ALTER TABLE foo OWNER TO postgres; Regards Dave.
В списке pgadmin-hackers по дате отправления: