Unix Technical Forum

Re: pgAdmin beta 3 query bug (got a reproducible case!)

This is a discussion on Re: pgAdmin beta 3 query bug (got a reproducible case!) within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: George Pavlov [mailto:gpavlov@mynewplace.com] > Sent: 16 October 2006 19:09 > To: Dave Page > ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 06:23 PM
Dave Page
 
Posts: n/a
Default Re: pgAdmin beta 3 query bug (got a reproducible case!)



> -----Original Message-----
> From: George Pavlov [mailto:gpavlov@mynewplace.com]
> Sent: 16 October 2006 19:09
> To: Dave Page
> Subject: RE: pgAdmin beta 3 query bug (got a reproducible case!)
>
> ok, after a lot of messing around i think i have it down to
> one totally
> reproducible case (may not be the only case of a crash, but
> this one is
> 100% crasha-ble for me). basically when you have an error message in
> between two queries that differ in their result set shape you get a
> crash. here are the steps:
>
> 1, from pgadmin connect to any DB and open the query tool
> 2. paste the following queries into the query pane
>
> select * from information_schema.columns;
> select * from my_bogus_table_name; -- this table does not
> exist, just a
> way to cause an error message
> select 1 from information_schema.columns; -- could be any query that
> produces a result set different from the first one
>
> 3. execute these three in sequence by highlighting and hitting f5 on
> each one
> - the first one returns a result set as expected
> - the second one produces an error message as expected
> - the last one produces a crash
>
> the above may seem like a contrived scenario, but i narrowed it down
> from some actual queries i had.


Oh, well spotted. I've committed some code to fix this and hopefully
make it easier to catch similar issues in the future. Do you want an
updated .exe?

This also sounds like it might have been an issue that Harald saw - he
was running some experimental queries with occasional errors iirc.

Regards, Dave.

---------------------------(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
  #2 (permalink)  
Old 04-17-2008, 06:23 PM
Harald Armin Massa
 
Posts: n/a
Default Re: pgAdmin beta 3 query bug (got a reproducible case!)

Dave,

> This also sounds like it might have been an issue that Harald saw - he
> was running some experimental queries with occasional errors iirc.


exactly. And I could not reproduce that behaviour today, because after
doing those queries with errors I learned and formulated them more
correct from the start

Yes, I woul like to get an updated exe; please package them in
pgadmin.dave or .foo or .whatever to trick gmail

Harald


--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
Python: the only language with more web frameworks than keywords.

---------------------------(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
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 05:40 AM.


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