On Fri, Dec 02, 2005 at 04:15:55PM +0530, Anuj Tripathi wrote:
> 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
> Xlib : Connection to ":0.0" refused by server
> xlib : no protocol specified
Err, why on earth would the *backend* need to talk to the X server.
Shouldn't it be sending messages to the client and then the client
making the pics? How do you plan to deal with 10 queries running
simultaneously on a server at the other side of the world. I'm not even
running an X-server on my database server...
Anyway, the database server doesn't have permissions to access the X
server, that's the error.
> Can someone suggest a method to integrate this GTK code into postgres
> and solve this problem.
Have a nice day,
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
In response to
pgsql-hackers by date
|Next:||From: Richard Huxton||Date: 2005-12-02 11:10:29|
|Subject: Re: Graphics in postgress using GTK|
|Previous:||From: Martijn van Oosterhout||Date: 2005-12-02 10:53:25|
|Subject: Re: generalizing the planner knobs|