Re: Graphics in postgress using GTK - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: Graphics in postgress using GTK
Date
Msg-id [email protected]
Whole thread Raw
In response to Graphics in postgress using GTK  (Anuj Tripathi <[email protected]>)
List pgsql-hackers
On 12/2/05, Anuj Tripathi <[email protected]> wrote:
> Hi
> We are trying to implement a progress estiamator for long queries. We
> are trying to make the display graphical using GTK but we get an error
> saying
> Xlib : Connection to ":0.0" refused by server
> xlib : no protocol specified
>
> GTK-warning ** : Cannot open display
>
> Can someone suggest a method to integrate this GTK code into postgres
> and solve this problem.
>
> Thanks and Regards
> Anuj Tripathi
>
>

What about to return to your application a cursor or a set of rows and
while looping let your progress bar advance?

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: generalizing the planner knobs
Next
From: Tom Lane
Date:
Subject: Re: Optimizer oddness, possibly compounded in 8.1