Re: Graphics in postgress using GTK

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Anuj Tripathi <anujt(at)it(dot)iitb(dot)ac(dot)in>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Graphics in postgress using GTK
Date: 2005-12-02 15:30:10
Message-ID: c2d9e70e0512020730o56e31055t7458fa52eb1cc2b4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/2/05, Anuj Tripathi <anujt(at)it(dot)iitb(dot)ac(dot)in> 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 ;)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-12-02 15:42:48 Re: Optimizer oddness, possibly compounded in 8.1
Previous Message Rod Taylor 2005-12-02 15:20:07 Re: generalizing the planner knobs