Thread: PostgreSQL service manager
I wrote PostgreSQL service manager (for spoiled windows users) using wxWindows that can query service status, start, stop and restart postmaster service under windows(currently under cygwin, but this should work even with native port when finished as long as service name is "postmaster"). I would also like to implement it for linux, but this one I did not finished yet. It was a litle play with wxWindows and MinGW since I saw yours choice of tools for PgAdmin3. Concerning the fact that PgAdmin is No.1 free Postgres GUI, I would be glad to contribute the code If You are interseted. Regards !
> -----Original Message----- > From: Darko Prenosil [mailto:Darko.Prenosil@finteh.hr] > Sent: 21 June 2003 22:05 > To: pgadmin-hackers@postgresql.org > Subject: [pgadmin-hackers] PostgreSQL service manager > > > I wrote PostgreSQL service manager (for spoiled windows > users) using wxWindows that can query service status, start, > stop and restart postmaster service under windows(currently > under cygwin, but this should work even with native port when > finished as long as service name is "postmaster"). I would > also like to implement it for linux, but this one I did not > finished yet. > It was a litle play with wxWindows and MinGW since I saw > yours choice of tools for PgAdmin3. > Concerning the fact that PgAdmin is No.1 free Postgres > GUI, I would be glad to contribute the code If You are interseted. Hi Darko, Thanks for the offer! Certainly I think we would like to see your code and integrate it if possible, though it will not be included in our first release I doubt as we are just entering feature freeze. On the *nix side of things incidently, I think most of the PostgreSQL scripts have now been rewritten in C. This probably includes pg_ctl which may provide a starting point for your code. Regards, Dave.
Darko Prenosil wrote: > I wrote PostgreSQL service manager (for spoiled windows users) using >wxWindows that can query service status, start, stop and restart postmaster >service under windows(currently under cygwin, but this should work even with >native port when finished as long as service name is "postmaster"). I would >also like to implement it for linux, but this one I did not finished yet. > It was a litle play with wxWindows and MinGW since I saw yours choice of >tools for PgAdmin3. > Concerning the fact that PgAdmin is No.1 free Postgres GUI, I would be >glad to contribute the code If You are interseted. > > Hi Darko, thanks for your interes in pgAdmin3. If you contribute a dlgServerCtrl.cpp/.h/.xrc that works as property dialog for a PG_SERVER node, I'd certainly find the time to add this to pgAdmin3. Please try to check if the user has sufficient rights to start/stop/restart. I noticed your Hungarian mail address, and I wonder if you'd like to contribute the Hungarian translation for pgAdmin3? It's quite easy using poEdit. Regards, Andreas
Darko Prenosil wrote: >On Monday 23 June 2003 12:50, Andreas Pflug wrote: > > >>Darko Prenosil wrote: >> >> >>> I wrote PostgreSQL service manager (for spoiled windows users) using >>>wxWindows that can query service status, start, stop and restart >>>postmaster service under windows(currently under cygwin, but this should >>>work even with native port when finished as long as service name is >>>"postmaster"). I would also like to implement it for linux, but this one >>>I did not finished yet. It was a litle play with wxWindows and MinGW >>>since I saw yours choice of tools for PgAdmin3. >>> Concerning the fact that PgAdmin is No.1 free Postgres GUI, I would be >>>glad to contribute the code If You are interseted. >>> >>> >>Hi Darko, >> >>thanks for your interes in pgAdmin3. If you contribute a >>dlgServerCtrl.cpp/.h/.xrc that works as property dialog for a PG_SERVER >>node, I'd certainly find the time to add this to pgAdmin3. Please try to >>check if the user has sufficient rights to start/stop/restart. >> >> > >Windows service manager does that - nothing to do on form - just report SCM >error ! > > Yes, but I meant to disable the start/stop options if privileges are not sufficient. > > >>I noticed your Hungarian mail address, and I wonder if you'd like to >>contribute the Hungarian translation for pgAdmin3? It's quite easy using >>poEdit. >> >> >> >We would contribute Croatian rather than Hungarian translation if You don't >mind :-) >HR is not Hungary(.hu), but CROATIA ! Native name for Croatia is Hrvatska and >there where HR comes from. > Blame on me... I should have known better, I've been to your wonderful country last year sailing from Split to Zadar, enjoying people, land, cities and food. Please accept my deepest apologies! Nevertheless, your language contribution certainly is welcome. We want to make pgAdmin3 a key to easy PostgreSQL access, and every native language supported enlarges the base of potential users. Regards, Andreas
On Monday 23 June 2003 12:50, Andreas Pflug wrote: > Darko Prenosil wrote: > > I wrote PostgreSQL service manager (for spoiled windows users) using > >wxWindows that can query service status, start, stop and restart > > postmaster service under windows(currently under cygwin, but this should > > work even with native port when finished as long as service name is > > "postmaster"). I would also like to implement it for linux, but this one > > I did not finished yet. It was a litle play with wxWindows and MinGW > > since I saw yours choice of tools for PgAdmin3. > > Concerning the fact that PgAdmin is No.1 free Postgres GUI, I would be > >glad to contribute the code If You are interseted. > > Hi Darko, > > thanks for your interes in pgAdmin3. If you contribute a > dlgServerCtrl.cpp/.h/.xrc that works as property dialog for a PG_SERVER > node, I'd certainly find the time to add this to pgAdmin3. Please try to > check if the user has sufficient rights to start/stop/restart. Windows service manager does that - nothing to do on form - just report SCM error ! > > I noticed your Hungarian mail address, and I wonder if you'd like to > contribute the Hungarian translation for pgAdmin3? It's quite easy using > poEdit. > We would contribute Croatian rather than Hungarian translation if You don't mind :-) HR is not Hungary(.hu), but CROATIA ! Native name for Croatia is Hrvatska and there where HR comes from. Regards ! > Regards, > Andreas