Anuj Tripathi 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.
Um - don't you want to be doing this in the client, not in the backend?
--
Richard Huxton
Archonet Ltd