Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:04 PM
Olivier Bouiron
 
Posts: n/a
Default Bug on the beta release: table cell editor

Hi.
I'm using the pgAdmin 1.8 beta release and i've found a bug.
When i use the graphical editor in order to change some values on a
table, evry time, the last value that i change is not saved, and i'm
sure that the edition of the cell stopped.
I don't kow if you have seen this problem...
I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
running on a linux Fedora OS.

Thanks for all your work and good luck for that new version!

Best regards

(Sorry for my english, i'm french...)

--
Olivier Bouiron
Institut Sainte Catherine
AVIGNON

Tél: 04 90 27 57 43


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:04 PM
Hiroshi Saito
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Hi.

Umm, Probably,
In order to edit the data, each row in the table must be uniquely identifiable.

This can be done using the OID, or a primary key. If none of them exist,

the table is read only. Note that views can't be edited and are read only by

design; updatable views (using rules) are not supported at this time.

See,

http://www.pgadmin.org/docs/dev/editgrid.html

What thing is the table which you define?

Regards,

Hiroshi Saito

From: "Olivier Bouiron"



> Hi.
> I'm using the pgAdmin 1.8 beta release and i've found a bug.
> When i use the graphical editor in order to change some values on a table, evry time, the last
> value that i change is not saved, and i'm sure that the edition of the cell stopped.
> I don't kow if you have seen this problem...
> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1 running on a linux Fedora
> OS.
>
> Thanks for all your work and good luck for that new version!
>
> Best regards
>
> (Sorry for my english, i'm french...)
>
> --
> Olivier Bouiron
> Institut Sainte Catherine
> AVIGNON
>
> Tél: 04 90 27 57 43
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>




---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 08:04 PM
Dave Page
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Olivier Bouiron wrote:
> Hi.
> I'm using the pgAdmin 1.8 beta release and i've found a bug.
> When i use the graphical editor in order to change some values on a
> table, evry time, the last value that i change is not saved, and i'm
> sure that the edition of the cell stopped.
> I don't kow if you have seen this problem...
> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
> running on a linux Fedora OS.


I cannot reproduce any issue along these lines. Can anyone else?

Regards, Dave

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 08:04 PM
Hiroshi Saito
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

It seems that a problem is in somewhere.
Anyhow, I investigate this. At all angles.
I result will be reported.

----- Original Message -----
From: "Dave Page" <dpage@postgresql.org>


> Olivier Bouiron wrote:
>> Hi.
>> I'm using the pgAdmin 1.8 beta release and i've found a bug.
>> When i use the graphical editor in order to change some values on a
>> table, evry time, the last value that i change is not saved, and i'm
>> sure that the edition of the cell stopped.
>> I don't kow if you have seen this problem...
>> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
>> running on a linux Fedora OS.

>
> I cannot reproduce any issue along these lines. Can anyone else?
>
> Regards, Dave
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 08:04 PM
Olivier Bouiron
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Hi.
This is one of the table that I use, and I have the problem with it too.
But as I said to Hiroshi Saito, I use the beta 1, I've just seen few
minutes ago that the beta 2 was released.
I have the problem evry time for the last value that i change.
I've tested again to use the refresh buton and the new value disepear
and the old value takes the place.

-- Table: dsi.dsi_pha_ucd

-- DROP TABLE dsi.dsi_pha_ucd;

CREATE TABLE dsi.dsi_pha_ucd
(
idspecialite integer NOT NULL,
code text,
libelle text NOT NULL,
idforme integer NOT NULL,
quantite integer NOT NULL DEFAULT 1,
volume real DEFAULT -1,
dosage real NOT NULL DEFAULT 0,
visible boolean NOT NULL DEFAULT true,
id integer NOT NULL DEFAULT nextval('dsi_pha_ucd_id_seq'::regclass),
oldidpres integer,
oldidprod integer,
CONSTRAINT dsi_pha_ucd_pkey PRIMARY KEY (id)
)
WITH OIDS;
ALTER TABLE dsi.dsi_pha_ucd OWNER TO postgres;
GRANT ALL ON TABLE dsi.dsi_pha_ucd TO postgres;
GRANT ALL ON TABLE dsi.dsi_pha_ucd TO infocentre WITH GRANT OPTION;


-- Index: dsi.index_dsi_pha_spe_code

-- DROP INDEX dsi.index_dsi_pha_spe_code;

CREATE INDEX index_dsi_pha_spe_code
ON dsi.dsi_pha_ucd
USING btree
(code);

-- Index: dsi.index_dsi_pha_ucd

-- DROP INDEX dsi.index_dsi_pha_ucd;

CREATE INDEX index_dsi_pha_ucd
ON dsi.dsi_pha_ucd
USING btree
(idspecialite);

Regards,

Olivier Bouiron
Institut Sainte Catherine
AVIGNON

Tél: 04 90 27 57 43



Dave Page a écrit :
> Olivier Bouiron wrote:
>
>> Hi.
>> I'm using the pgAdmin 1.8 beta release and i've found a bug.
>> When i use the graphical editor in order to change some values on a
>> table, evry time, the last value that i change is not saved, and i'm
>> sure that the edition of the cell stopped.
>> I don't kow if you have seen this problem...
>> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
>> running on a linux Fedora OS.
>>

>
> I cannot reproduce any issue along these lines. Can anyone else?
>
> Regards, Dave
>
>
>


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-17-2008, 08:04 PM
Derrick Betts
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Just a thought.. Are you leaving the cell (cursor being moved to a
different cell) in order to commit the change before you refresh the table?

Derrick

Olivier Bouiron wrote:
> Hi.
> This is one of the table that I use, and I have the problem with it too.
> But as I said to Hiroshi Saito, I use the beta 1, I've just seen few
> minutes ago that the beta 2 was released.
> I have the problem evry time for the last value that i change.
> I've tested again to use the refresh buton and the new value disepear
> and the old value takes the place.
>
> -- Table: dsi.dsi_pha_ucd
>
> -- DROP TABLE dsi.dsi_pha_ucd;
>
> CREATE TABLE dsi.dsi_pha_ucd
> (
> idspecialite integer NOT NULL,
> code text,
> libelle text NOT NULL,
> idforme integer NOT NULL,
> quantite integer NOT NULL DEFAULT 1,
> volume real DEFAULT -1,
> dosage real NOT NULL DEFAULT 0,
> visible boolean NOT NULL DEFAULT true,
> id integer NOT NULL DEFAULT nextval('dsi_pha_ucd_id_seq'::regclass),
> oldidpres integer,
> oldidprod integer,
> CONSTRAINT dsi_pha_ucd_pkey PRIMARY KEY (id)
> )
> WITH OIDS;
> ALTER TABLE dsi.dsi_pha_ucd OWNER TO postgres;
> GRANT ALL ON TABLE dsi.dsi_pha_ucd TO postgres;
> GRANT ALL ON TABLE dsi.dsi_pha_ucd TO infocentre WITH GRANT OPTION;
>
>
> -- Index: dsi.index_dsi_pha_spe_code
>
> -- DROP INDEX dsi.index_dsi_pha_spe_code;
>
> CREATE INDEX index_dsi_pha_spe_code
> ON dsi.dsi_pha_ucd
> USING btree
> (code);
>
> -- Index: dsi.index_dsi_pha_ucd
>
> -- DROP INDEX dsi.index_dsi_pha_ucd;
>
> CREATE INDEX index_dsi_pha_ucd
> ON dsi.dsi_pha_ucd
> USING btree
> (idspecialite);
>
> Regards,
>
> Olivier Bouiron
> Institut Sainte Catherine
> AVIGNON
>
> Tél: 04 90 27 57 43
>
>
>
> Dave Page a écrit :
>> Olivier Bouiron wrote:
>>
>>> Hi.
>>> I'm using the pgAdmin 1.8 beta release and i've found a bug.
>>> When i use the graphical editor in order to change some values on a
>>> table, evry time, the last value that i change is not saved, and i'm
>>> sure that the edition of the cell stopped.
>>> I don't kow if you have seen this problem...
>>> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
>>> running on a linux Fedora OS.
>>>

>>
>> I cannot reproduce any issue along these lines. Can anyone else?
>>
>> Regards, Dave
>>
>>
>>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>
>




---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-17-2008, 08:04 PM
Hiroshi Saito
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Hi Olivier-san.

Although I tried the problem as out of order, I'm not reproduced....
Sorry, Please send me the procedure or data made to reproduce
be obtained? If possible, please specify the procedure for step by step.
I appreciate your perseverance.

Regards,
Hiroshi Saito

----- Original Message -----
From: "Olivier Bouiron" <o.bouiron@isc84.org>
To: "Dave Page" <dpage@postgresql.org>; <pgadmin-support@postgresql.org>
Sent: Saturday, July 28, 2007 1:08 AM
Subject: Re: [pgadmin-support] Bug on the beta release: table cell editor


> Hi.
> This is one of the table that I use, and I have the problem with it too.
> But as I said to Hiroshi Saito, I use the beta 1, I've just seen few minutes ago that the beta 2
> was released.
> I have the problem evry time for the last value that i change.
> I've tested again to use the refresh buton and the new value disepear and the old value takes the
> place.
>
> -- Table: dsi.dsi_pha_ucd
>
> -- DROP TABLE dsi.dsi_pha_ucd;
>
> CREATE TABLE dsi.dsi_pha_ucd
> (
> idspecialite integer NOT NULL,
> code text,
> libelle text NOT NULL,
> idforme integer NOT NULL,
> quantite integer NOT NULL DEFAULT 1,
> volume real DEFAULT -1,
> dosage real NOT NULL DEFAULT 0,
> visible boolean NOT NULL DEFAULT true,
> id integer NOT NULL DEFAULT nextval('dsi_pha_ucd_id_seq'::regclass),
> oldidpres integer,
> oldidprod integer,
> CONSTRAINT dsi_pha_ucd_pkey PRIMARY KEY (id)
> )
> WITH OIDS;
> ALTER TABLE dsi.dsi_pha_ucd OWNER TO postgres;
> GRANT ALL ON TABLE dsi.dsi_pha_ucd TO postgres;
> GRANT ALL ON TABLE dsi.dsi_pha_ucd TO infocentre WITH GRANT OPTION;
>
>
> -- Index: dsi.index_dsi_pha_spe_code
>
> -- DROP INDEX dsi.index_dsi_pha_spe_code;
>
> CREATE INDEX index_dsi_pha_spe_code
> ON dsi.dsi_pha_ucd
> USING btree
> (code);
>
> -- Index: dsi.index_dsi_pha_ucd
>
> -- DROP INDEX dsi.index_dsi_pha_ucd;
>
> CREATE INDEX index_dsi_pha_ucd
> ON dsi.dsi_pha_ucd
> USING btree
> (idspecialite);
>
> Regards,
>
> Olivier Bouiron
> Institut Sainte Catherine
> AVIGNON
>
> Tél: 04 90 27 57 43
>
>
>
> Dave Page a écrit :
>> Olivier Bouiron wrote:
>>
>>> Hi.
>>> I'm using the pgAdmin 1.8 beta release and i've found a bug.
>>> When i use the graphical editor in order to change some values on a
>>> table, evry time, the last value that i change is not saved, and i'm
>>> sure that the edition of the cell stopped.
>>> I don't kow if you have seen this problem...
>>> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
>>> running on a linux Fedora OS.
>>>

>>
>> I cannot reproduce any issue along these lines. Can anyone else?
>>
>> Regards, Dave
>>
>>
>>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>




---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-17-2008, 08:04 PM
Guillaume Lelarge
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Olivier Bouiron a écrit :
> The problem only happen when I edit just the 100 last lines of the table.
> This is how i do:
> 1)I edit just the 100 last lines of the table using the popup menu
> 2)Click on the cell I want to edit
> 3)Tape the new value
> 4)'Enter'
> 5)Then I can close the frame or clik on the refresh button, the result
> will be the same: I see the old value taking place in the cell
>
> But if I do that;
> 1)I edit just the 100 last lines of the table using the popup menu
> 2)Click on the cell I want to edit
> 3)Tape the new value
> 4)'Enter'
> 2)Click on a 2nd cell I want to edit
> 3)Tape the new value
> 4)'Enter'
> 5)Then just the second cell will keep its old value, the first is ok...
>
> Hope this could help you...
>


I've done some tests. I have the same issue than Olivier when I use
Enter (not Return, but Enter... the key of the numeric pad). It seems
Enter key is not handled in the same way than Return key. I'll look at
the source code tonight.

Regards.


--
Guillaume.
<!-- http://abs.traduc.org/
http://lfs.traduc.org/
http://docs.postgresqlfr.org/ -->

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-17-2008, 08:04 PM
Olivier Bouiron
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Hi

The problem only happen when I edit just the 100 last lines of the table.
This is how i do:
1)I edit just the 100 last lines of the table using the popup menu
2)Click on the cell I want to edit
3)Tape the new value
4)'Enter'
5)Then I can close the frame or clik on the refresh button, the result
will be the same: I see the old value taking place in the cell

But if I do that;
1)I edit just the 100 last lines of the table using the popup menu
2)Click on the cell I want to edit
3)Tape the new value
4)'Enter'
2)Click on a 2nd cell I want to edit
3)Tape the new value
4)'Enter'
5)Then just the second cell will keep its old value, the first is ok...

Hope this could help you...

Olivier Bouiron
Institut Sainte Catherine
AVIGNON

Tél: 04 90 27 57 43



Guillaume Lelarge a écrit :
> Bonjour Olivier,
>
> Olivier Bouiron a écrit :
>
>> I'm using the pgAdmin 1.8 beta release and i've found a bug.
>> When i use the graphical editor in order to change some values on a
>> table, evry time, the last value that i change is not saved, and i'm
>> sure that the edition of the cell stopped.
>> I don't kow if you have seen this problem...
>> I'm using pgAdmin on Window XP SP2, and my data base is a postgres 8.1
>> running on a linux Fedora OS.
>>
>>

>
> Je me demandais si le problème avait été résolu avec l'aide d'Hiroshi,
> de Dave et de Derrick ou si le problème se posait toujours ? si oui,
> peux-tu m'indiquer la procédure exacte que tu suis pour mettre à jour
> une ligne ? (je veux dire clic par clic, touche par touche.
>
> Merci.
>
> À bientôt.
>
>
>


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 04-17-2008, 08:04 PM
Hiroshi Saito
 
Posts: n/a
Default Re: Bug on the beta release: table cell editor

Hi.

Yes, Good point:-). Then, I had other problems in the portion.
I want to repeal the operation....( not accept key Enter)
However, I think that the review of Dave is required for this.

pgadmin/frm/frmEditGrid.cpp
*** pgadmin/frm/frmEditGrid.cpp.orig 2007-07-30 09:34:37.000000000 +0000
--- pgadmin/frm/frmEditGrid.cpp 2007-07-30 09:36:29.000000000 +0000
***************
*** 644,649 ****
--- 644,655 ----
fileMenu->Enable(MNU_SAVE, true);
editMenu->Enable(MNU_UNDO, true);
}
+ else
+ {
+ if (keycode > WXK_SCROLL)
+ return;
+ }
+
break;
}
event.Skip();

Regards,
Hiroshi Saito

From: "Guillaume Lelarge"


> Olivier Bouiron a écrit :
>> The problem only happen when I edit just the 100 last lines of the table.
>> This is how i do:
>> 1)I edit just the 100 last lines of the table using the popup menu
>> 2)Click on the cell I want to edit
>> 3)Tape the new value
>> 4)'Enter'
>> 5)Then I can close the frame or clik on the refresh button, the result
>> will be the same: I see the old value taking place in the cell
>>
>> But if I do that;
>> 1)I edit just the 100 last lines of the table using the popup menu
>> 2)Click on the cell I want to edit
>> 3)Tape the new value
>> 4)'Enter'
>> 2)Click on a 2nd cell I want to edit
>> 3)Tape the new value
>> 4)'Enter'
>> 5)Then just the second cell will keep its old value, the first is ok...
>>
>> Hope this could help you...
>>

>
> I've done some tests. I have the same issue than Olivier when I use
> Enter (not Return, but Enter... the key of the numeric pad). It seems
> Enter key is not handled in the same way than Return key. I'll look at
> the source code tonight.
>
> Regards.
>
>
> --
> Guillaume.
> <!-- http://abs.traduc.org/
> http://lfs.traduc.org/
> http://docs.postgresqlfr.org/ -->
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481