Re: pgAgent: I want to make a port to C++ Only - Mailing list pgadmin-hackers

From Dave Page
Subject Re: pgAgent: I want to make a port to C++ Only
Date
Msg-id CA+OCxozraCnqX9tDqMugSS4tF3Beb6WTXr=MSrZfg_=1mKAMyg@mail.gmail.com
Whole thread Raw
In response to Re: pgAgent: I want to make a port to C++ Only  (Linreg <linreg@gmx.net>)
Responses Re: pgAgent: I want to make a port to C++ Only
List pgadmin-hackers
Hi

On Mon, Sep 9, 2013 at 2:37 PM, Linreg <linreg@gmx.net> wrote:
> # Phase 1
>
> + stay on base structure (programm flow)
>
> + backward compatibilty (commandline parameter, sql-schema)

That's definitely required.

> + remove wxWidget dependencies
>
> + replace all wx classes with c++ classes (std::string, stringstream, thread
> etc)

Yes.

> + logfile has csv structure, that is needed in Phase 2

Why? Not sure what that has to do with porting to C++?

> (like 2013-12-01 12:13|DEBUG|bla bla ...)
>
> + remove mutex

Err, again, why? The mutex is there for a reason.

> + replace connectstring parsing
>
>
>
> # Phase 2
>
> + new impelenting of commandline parsing
>
> + move pgagent schema in separat database (better access rights...) this
> need a patch for pgadmin

That's very unlikely to be accepted - we intentionally use the
maintenance database for that, rather than forcing the user to use a
different one.

> + file_fdw configuration to show logfile-entrys over a sql view

OK, well that explains the CSV format above, but of course, this will
only work if the agent is known to be on the same host. At present, we
don't know that.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Linreg
Date:
Subject: Re: pgAgent: I want to make a port to C++ Only
Next
From: Linreg
Date:
Subject: Re: pgAgent: I want to make a port to C++ Only