From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Linreg <linreg(at)gmx(dot)net> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAgent: C++ Port - Patch Review |
Date: | 2013-09-12 16:32:10 |
Message-ID: | CA+OCxozjXXCPi7+ZeDddh_Yrum6-zP1VJ5kKK5ELpM=TY-U_vQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi
On Wed, Sep 11, 2013 at 2:14 PM, Linreg <linreg(at)gmx(dot)net> wrote:
> Hi,
>
>
>
> here is it
Thanks. I've taken a brief look, and found a number of initial issues,
and have some questions:
- The new code doesn't match the existing coding style - you've used 4
spaces instead of tabs for indents, and braces to open a new context
are not on a new line for example. Please follow the existing coding
style to make the diffs (much) easier to read. You might also try
something like: astyle -n -p -b -S -t4 -k3 -z2 `find . -name "*.cpp"
-o -name "*.h"`
- There are no updates to the build system, which seems essential for
this patch. As a result, I can't compile the code at all yet.
- There are numerous comments that are clearly notes to yourself, and
lines of code that have been commented out. This needs to be cleaned
up before anything can be committed.
- You seem to have hard-coded the exit code from Windows batch job
steps to 1. Why?
- You also seem to have removed the connection pool. Why?
I think that's it for now. I'll look further when I can build the code :-)
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Linreg | 2013-09-13 10:43:08 | Re: pgAgent: C++ Port - Patch Review |
Previous Message | Dave Page | 2013-09-11 14:31:04 | Re: Fixed pgAdmin crash issue |