Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mirror of the pgagent project

branch: master

Use MAJOR.MINOR as the version number for the extension. This allows

us to make bug fix releases by updating the build number without requiring
a schema update, but fixes that alter SQL object definitions with a minor
version bump, and schema changes with a major version bump.
latest commit 82dff59929
Dave Page dpage authored February 25, 2014
Octocat-spinner-32 cmake Use MAJOR.MINOR as the version number for the extension. This allows February 25, 2014
Octocat-spinner-32 include Copyright updates. February 11, 2014
Octocat-spinner-32 pgaevent Bump the version number to 3.4.0. February 11, 2014
Octocat-spinner-32 sql Use MAJOR.MINOR as the version number for the extension. This allows February 25, 2014
Octocat-spinner-32 CMakeLists.txt Use MAJOR.MINOR as the version number for the extension. This allows February 25, 2014
Octocat-spinner-32 LICENSE Copyright updates. February 11, 2014
Octocat-spinner-32 README Update HTTP checkout link for INSTALL file August 05, 2011
Octocat-spinner-32 connection.cpp Fix a couple of warnings from clang. February 25, 2014
Octocat-spinner-32 job.cpp Copyright updates. February 11, 2014
Octocat-spinner-32 misc.cpp Copyright updates. February 11, 2014
Octocat-spinner-32 pgAgent.cpp Copyright updates. February 11, 2014
Octocat-spinner-32 pgAgent.rc Bump the version number to 3.4.0. February 11, 2014
Octocat-spinner-32 pgagent.control.in Use MAJOR.MINOR as the version number for the extension. This allows February 25, 2014
Octocat-spinner-32 precomp.cpp Copyright updates. February 11, 2014
Octocat-spinner-32 unix.cpp Copyright updates. February 11, 2014
Octocat-spinner-32 win32.cpp Copyright updates. February 11, 2014
README
pgAgent
=======

This document describes the compilation of pgAgent, a job scheduler for 
PostgreSQL.

pgAgent is managed using pgAdmin (http://www.pgadmin.org). The pgAdmin 
documentation contains details of the setup and use of pgAgent with your
PostgreSQL system. The latest build of the documentation can be found at
http://www.pgadmin.org/docs/dev/pgagent.html.

Building pgAgent
----------------

You will need:

- A C/C++ compiler, such as GCC or Microsoft Visual C++ on Windows.
- CMake 2.6 (from www.cmake.org)
- A wxWidgets 2.8.x installation, configured per the requirements for
  pgAdmin:
  http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=blob_plain;f=INSTALL;hb=HEAD
- A PostgreSQL 8.3 or higher installation

1) Unpack the pgAgent source code
2) Create a build directory in which the code will be built.
3) Run ccmake from the build directory (on Windows, use the CMake graphical
   interface). By default, ccmake will generate Unix Makefiles - consult the 
   documentation if you wish to generate other types of output:

$ ccmake /path/to/pgagent

4) If required, press 'c' to generate a default configuration:

CMAKE_BUILD_TYPE                 Release
CMAKE_INSTALL_PREFIX             /usr/local
CMAKE_OSX_ARCHITECTURES          ppc;i386
CMAKE_OSX_SYSROOT                /Developer/SDKs/MacOSX10.5.sdk
PostgreSQL_CONFIG_EXECUTABLE     /usr/local/pgsql/bin/pg_config
wxWidgets_CONFIG_EXECUTABLE      /usr/local/bin/wx-config
wxWidgets_USE_DEBUG              OFF
wxWidgets_USE_STATIC             ON
wxWidgets_USE_UNICODE            ON
wxWidgets_wxrc_EXECUTABLE        /usr/bin/wxrc

5) Use the ccmake interface to adjust any settings as required. When configured
   as required, press 'c' to re-configure (if required) and 'g' to generate the 
   build files and exit.
   
6) Run 'make' to build pgAgent on Mac or Unix, or open the generated project
   files in VC++ on Windows and build the solution in the desired configuration.

Something went wrong with that request. Please try again.