Unix Technical Forum

pgadmin or pgsql? query execution bug

This is a discussion on pgadmin or pgsql? query execution bug within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> So this works fine in 1.6.3 (and psql), but in 1.8.0 beta's query window: -- Executing query: select now() ...


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:05 PM
Kevin Field
 
Posts: n/a
Default pgadmin or pgsql? query execution bug

So this works fine in 1.6.3 (and psql), but in 1.8.0 beta's query window:


-- Executing query:
select now()

Total query runtime: 32 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 3766 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 12141 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 1938 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 15 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 2031 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 13032 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 1250 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 1000 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 219 ms.
1 rows retrieved.

-- Executing query:
select now()::time

Total query runtime: 16 ms.
1 rows retrieved.


The weird part is, it always returns the row right away like it should,
but most times also keeps executing forever, until I press F5 again. To
get it to stop, pressing repeatedly a few times seems to help.

Kev

---------------------------(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
  #2 (permalink)  
Old 04-17-2008, 08:05 PM
Dave Page
 
Posts: n/a
Default Re: pgadmin or pgsql? query execution bug

Kevin Field wrote:
> So this works fine in 1.6.3 (and psql), but in 1.8.0 beta's query window:
>
> The weird part is, it always returns the row right away like it should,
> but most times also keeps executing forever, until I press F5 again. To
> get it to stop, pressing repeatedly a few times seems to help.


I committed a fix for that a couple of weeks back - it'll be in beta 3
(probably tomorrow).

http://svn.pgadmin.org/cgi-bin/viewc...=6499&view=rev

Thanks, Dave.

---------------------------(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
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 01:42 PM.


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