SOURCES: postgresql-pgcluster-1.7.0rc7.patch (NEW) - initial
blues
blues at pld-linux.org
Thu Dec 6 23:50:35 CET 2007
Author: blues Date: Thu Dec 6 22:50:35 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- initial
---- Files affected:
SOURCES:
postgresql-pgcluster-1.7.0rc7.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/postgresql-pgcluster-1.7.0rc7.patch
diff -u /dev/null SOURCES/postgresql-pgcluster-1.7.0rc7.patch:1.1
--- /dev/null Thu Dec 6 23:50:35 2007
+++ SOURCES/postgresql-pgcluster-1.7.0rc7.patch Thu Dec 6 23:50:30 2007
@@ -0,0 +1,32699 @@
+diff -aruN postgresql-8.2.4/GNUmakefile.in pgcluster-1.7.0rc7/GNUmakefile.in
+--- postgresql-8.2.4/GNUmakefile.in 2006-08-18 21:58:05.000000000 +0200
++++ pgcluster-1.7.0rc7/GNUmakefile.in 2007-02-18 22:52:16.000000000 +0100
+@@ -63,13 +63,13 @@
+
+ ##########################################################################
+
+-distdir := postgresql-$(VERSION)
++distdir := pgcluster-$(PGCLUSTER_VERSION)
+ dummy := =install=
+-garbage := =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
++garbage := =* "#"* ."#"* *~* *.orig *.rej core pgcluster-*
+
+ dist: $(distdir).tar.gz
+ ifeq ($(split-dist), yes)
+-dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz
++dist: pgcluster-base-$(PGCLUSTER_VERSION).tar.gz pgcluster-docs-$(PGCLUSTER_VERSION).tar.gz pgcluster-opt-$(PGCLUSTER_VERSION).tar.gz pgcluster-test-$(PGCLUSTER_VERSION).tar.gz
+ endif
+ dist:
+ -rm -rf $(distdir)
+@@ -81,19 +81,19 @@
+ src/tools src/tutorial \
+ $(addprefix src/pl/, plperl plpython tcl)
+
+-docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail
++docs_files := doc/pgcluster.tar.gz doc/src doc/TODO.detail
+
+-postgresql-base-$(VERSION).tar: distdir
++pgcluster-base-$(PGCLUSTER_VERSION).tar: distdir
+ $(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \
+ -f $@ $(distdir)
+
+-postgresql-docs-$(VERSION).tar: distdir
++pgcluster-docs-$(PGCLUSTER_VERSION).tar: distdir
+ $(TAR) cf $@ $(addprefix $(distdir)/, $(docs_files))
+
+-postgresql-opt-$(VERSION).tar: distdir
++pgcluster-opt-$(PGCLUSTER_VERSION).tar: distdir
+ $(TAR) cf $@ $(addprefix $(distdir)/, $(opt_files))
+
+-postgresql-test-$(VERSION).tar: distdir
++pgcluster-test-$(PGCLUSTER_VERSION).tar: distdir
+ $(TAR) cf $@ $(distdir)/src/test
+
+ distdir:
+diff -aruN postgresql-8.2.4/INSTALL_PGCLUSTER pgcluster-1.7.0rc7/INSTALL_PGCLUSTER
+--- postgresql-8.2.4/INSTALL_PGCLUSTER 1970-01-01 01:00:00.000000000 +0100
++++ pgcluster-1.7.0rc7/INSTALL_PGCLUSTER 2007-02-19 00:59:13.000000000 +0100
+@@ -0,0 +1,392 @@
++PGCluster Installation Instructions
++
++=============================================================
++1. Installation
++=============================================================
++
++1-1. Install Cluster DB Server, Replication Server & Load Balancer
++----------------------------------------------------------------
++$ cd $source_dir
++$ ./configure
++$ gmake
++$ su
++# gmake install
++# chown -R postgres /usr/local/pgsql
++----------------------------------------------------------------
++
++=============================================================
++2. Initialize DB
++=============================================================
++$ su
++# adduser postgres
++# mkdir /usr/local/pgsql/data
++# chown postgres /usr/local/pgsql/data
++# su - postgres
++$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
++
++
++=============================================================
++3. Configuration
++=============================================================
++(EX.System Composition)
++
++ |
++ ((Load Balance Server))
++ ( hostname: lb.pgcluster.org)
++ ( receive port:5432 )
++ ( recovery port:6001 )
++ |
++----------+-------------+------------+----------
++ | |
++ (( Cluster DB 1 )) (( Cluster DB 2 ))
++ ( hostname:c1.pgcluster.org) ( hostname:c2.pgcluster.org)
++ ( receive port: 5432 ) ( receive port:5432 )
++ ( recovery port:7001 ) ( recovery port 7002 )
++ | |
++----------+-------------+------------+----------
++ |
++ ((Replication Server))
++ ( hostname:pgr.pgcluster.org)
++ ( receive port:8001 )
++ ( recovery port:8101 )
++
++
++3-1. Load Balance Server
++
++The setup file of load balance server is copied from the sample file and edited.
++(the sample file is installed '/usr/local/pgsql/share' in default)
++----------------------------------------------------------------
++$cd /usr/local/pgsql/share
++$cp pglb.conf.sample pglb.conf
++----------------------------------------------------------------
++
++In the case of the above system composition example,
++the setup example of pglb.conf file is as the following
++
++#============================================================
++# Load Balance Server configuration file
++#-------------------------------------------------------------
++# file: pglb.conf
++#-------------------------------------------------------------
++# This file controls:
++# o which hosts are db cluster server
++# o which port use connect to db cluster server
++# o how many connections are allowed on each DB server
++#============================================================
++#-------------------------------------------------------------
++# set cluster DB server information
++# o Host_Name : hostname
++# o Port : Connection for postmaster
++# o Max_Connection : Maximum number of connection to postmaster
++#-------------------------------------------------------------
++<Cluster_Server_Info>
++ <Host_Name> c1.pgcluster.org </Host_Name>
++ <Port> 5432 </Port>
++ <Max_Connect> 32 </Max_Connect>
++</Cluster_Server_Info>
++<Cluster_Server_Info>
++ <Host_Name> c2.pgcluster.org </Host_Name>
++ <Port> 5432 </Port>
++ <Max_Connect> 32 </Max_Connect>
++</Cluster_Server_Info>
++#-------------------------------------------------------------
++# set Load Balance server information
++# o Host_Name : The host name of this load balance server.
++# -- please write a host name by FQDN or IP address.
++# o Backend_Socket_Dir : Unix domain socket path for the backend
++# o Receive_Port : Connection from client
++# o Recovery_Port : Connection for recovery process
++# o Max_Cluster_Num : Maximum number of cluster DB servers
++# o Use_Connection_Pooling : Use connection pool [yes/no]
++# o Lifecheck_Timeout : Timeout of the lifecheck response
++# o Lifecheck_Interval : Interval time of the lifecheck
++# (range 1s - 1h)
++# 10s -- 10 seconds
++# 10min -- 10 minutes
++# 1h -- 1 hours
++#-------------------------------------------------------------
++<Host_Name> lb.pgcluster.org </Host_Name>
++<Backend_Socket_Dir> /tmp </Backend_Socket_Dir>
++<Receive_Port> 5432 </Receive_Port>
++<Recovery_Port> 6001 </Recovery_Port>
++<Max_Cluster_Num> 128 </Max_Cluster_Num>
++<Use_Connection_Pooling> no </Use_Connection_Pooling>
++<LifeCheck_Timeout> 3s </LifeCheck_Timeout>
++<LifeCheck_Interval> 15s </LifeCheck_Interval>
++#-------------------------------------------------------------
++# A setup of a log files
++#
++# o File_Name : Log file name with full path
++# o File_Size : Maximum size of each log files
++# Please specify in a number and unit(K or M)
++# 10 -- 10 Byte
++# 10K -- 10 KByte
++# 10M -- 10 MByte
++# o Rotate : Rotation times
++# If specified 0, old versions are removed.
++#-------------------------------------------------------------
++<Log_File_Info>
++ <File_Name> /tmp/pglb.log </File_Name>
++ <File_Size> 1M </File_Size>
++ <Rotate> 3 </Rotate>
++</Log_File_Info>
++
++3-2. Cluster DB Server
++
++The Cluster DB server need edit two configuration files
++('pg_hba.conf' and 'cluster.conf').
++These files are create under the $PG_DATA directory after 'initdb'.
++
++A. pg_hba.conf
++Permission to connect DB via IP connectoins is need for this system.
++
++B. cluster.conf
++In the case of the above system composition example,
++the setup example of cluster.conf file is as the following
++
++#============================================================
++# Cluster DB Server configuration file
++#-------------------------------------------------------------
++# file: cluster.conf
++#-------------------------------------------------------------
++# This file controls:
++# o which hosts & port are replication server
++# o which port use for replication request to replication server
++# o which command use for recovery function
++#
++#============================================================
++#-------------------------------------------------------------
++# set cluster DB server information
++# o Host_Name : hostname
++# o Port : Connection port for postmaster
++# o Recovery_Port : Connection for recovery process
++#-------------------------------------------------------------
++<Replicate_Server_Info>
++ <Host_Name> pgr.pgcluster.org </Host_Name>
++ <Port> 8001 </Port>
++ <Recovery_Port> 8101 </Recovery_Port>
++</Replicate_Server_Info>
++#-------------------------------------------------------------
++# set Cluster DB Server information
++# o Host_Name : Host name which connect with replication server
++# o Recovery_Port : Connection port for recovery
++# o Rsync_Path : Path of rsync command
++# o Rsync_Option : File transfer option for rsync
++# o Rsync_Compress : Use compression option for rsync
++# [yes/no]. default : yes
++# o Pg_Dump_Path : path of pg_dump
++# o When_Stand_Alone : When all replication servers fell,
++# you can set up two kinds of permittion,
++# "real_only" or "read_write".
++# o Replication_Timeout : Timeout of each replication request
++# o Lifecheck_Timeout : Timeout of the lifecheck response
++# o Lifecheck_Interval : Interval time of the lifecheck
++# (range 1s - 1h)
++# 10s -- 10 seconds
++# 10min -- 10 minutes
++# 1h -- 1 hours
++#-------------------------------------------------------------
++<Host_Name> c1.pgcluster.org </Host_Name>
++<Recovery_Port> 7001 </Recovery_Port>
++<Rsync_Path> /usr/bin/rsync </Rsync_Path>
++<Rsync_Option> ssh -1 </Rsync_Option>
++<Rsync_Compress> yes </Rsync_Compress>
++<Pg_Dump_Path> /usr/local/pgsql/bin/pg_dump </Pg_Dump_Path>
++<When_Stand_Alone> read_only </When_Stand_Alone>
++<Replication_Timeout> 1min </Replication_Timeout>
++<LifeCheck_Timeout> 3s </LifeCheck_Timeout>
++<LifeCheck_Interval> 11s </LifeCheck_Interval>
++#-------------------------------------------------------------
++# set partitional replicate control information
++# set DB name and Table name to stop reprication
++# o DB_Name : DB name
++# o Table_Name : Table name
++#-------------------------------------------------------------
++#<Not_Replicate_Info>
++# <DB_Name> test_db </DB_Name>
++# <Table_Name> log_table </Table_Name>
++#</Not_Replicate_Info>
++
++3-3. Replication Server
++
++The setup file of replication server is copied from the sample file and edited.
++(the sample file is installed '/usr/local/pgsql/share' in default)
++----------------------------------------------------------------
++$cd /usr/local/pgsql/share
++$cp pgreplicate.conf.sample pgreplicate.conf
++----------------------------------------------------------------
++In the case of the above system composition example,
++the setup example of pgreplicate.conf file is as the following
++
++#============================================================
++# PGReplicate configuration file
++#-------------------------------------------------------------
++# file: pgreplicate.conf
++#-------------------------------------------------------------
++# This file controls:
++# o which hosts & port are cluster server
++# o which port use for replication request from cluster server
++#============================================================
++#-------------------------------------------------------------
++# set cluster DB server information
++# o Host_Name : hostname
++# o Port : Connection port for postmaster
++# o Recovery_Port : Connection port for recovery
++#-------------------------------------------------------------
++<Cluster_Server_Info>
++ <Host_Name> c1.pgcluster.org </Host_Name>
++ <Port> 5432 </Port>
++ <Recovery_Port> 7001 </Recovery_Port>
++</Cluster_Server_Info>
++<Cluster_Server_Info>
++ <Host_Name> c2.pgcluster.org </Host_Name>
++ <Port> 5432 </Port>
++ <Recovery_Port> 7001 </Recovery_Port>
++</Cluster_Server_Info>
++#-------------------------------------------------------------
++# set Load Balance server information
++# o Host_Name : hostname
++# o Recovery_Port : Connection port for recovery
++#-------------------------------------------------------------
++<LoadBalance_Server_Info>
++ <Host_Name> lb.pgcluster.org </Host_Name>
++ <Recovery_Port> 6001 </Recovery_Port>
++</LoadBalance_Server_Info>
++#------------------------------------------------------------
++# A setup of the cascade connection between replication servers.
++# When you do not use RLOG recovery, you can skip this setup
++#
++# o Host_Name : The host name of the upper replication server.
++# Please write a host name by FQDN or IP address.
++# o Port : The connection port with postmaster.
++# o Recovery_Port : The connection port at the time of
++# a recovery sequence .
++#------------------------------------------------------------
++#<Replicate_Server_Info>
++# <Host_Name> upper_replicate.pgcluster.org </Host_Name>
++# <Port> 8002 </Port>
++# <Recovery_Port> 8102 </Recovery_Port>
++#</Replicate_Server_Info>
++#
++#-------------------------------------------------------------
++# A setup of a replication server
++#
++# o Host_Name : The host name of the this replication server.
++# Please write a host name by FQDN or IP address.
++# o Replicate_Port : Connection port for replication
++# o Recovery_Port : Connection port for recovery
++# o RLOG_Port : Connection port for replication log
++# o Response_mode : Timing which returns a response
++# - normal -- return result of DB which received the query
++# - reliable -- return result after waiting for response of
++# all Cluster DBs.
++# o Use_Replication_Log : Use replication log
++# [yes/no]. default : no
++# o Replication_Timeout : Timeout of each replication response
++# o Lifecheck_Timeout : Timeout of the lifecheck response
++# o Lifecheck_Interval : Interval time of the lifecheck
++# (range 1s - 1h)
++# 10s -- 10 seconds
++# 10min -- 10 minutes
++# 1h -- 1 hours
++#-------------------------------------------------------------
++<Host_Name> pgr.pgcluster.org </Host_Name>
++<Replication_Port> 8001 </Replication_Port>
++<Recovery_Port> 8101 </Recovery_Port>
++<RLOG_Port> 8301 </RLOG_Port>
++<Response_Mode> normal </Response_Mode>
++<Use_Replication_Log> no </Use_Replication_Log>
++<Replication_Timeout> 1min </Replication_Timeout>
++<LifeCheck_Timeout> 3s </LifeCheck_Timeout>
++<LifeCheck_Interval> 15s </LifeCheck_Interval>
++#-------------------------------------------------------------
++# A setup of a log files
++#
++# o File_Name : Log file name with full path
++# o File_Size : maximum size of each log files
++# Please specify in a number and unit(K or M)
++# 10 -- 10 Byte
++# 10K -- 10 KByte
++# 10M -- 10 MByte
++# o Rotate : Rotation times
++# If specified 0, old versions are removed.
++#-------------------------------------------------------------
++<Log_File_Info>
++ <File_Name> /tmp/pgreplicate.log </File_Name>
++ <File_Size> 1M </File_Size>
++ <Rotate> 3 </Rotate>
++</Log_File_Info>
++
++=============================================================
++4. Start Up / Stop
++=============================================================
++
++4-1. replication server
++
++A. Start replication server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pgreplicate -D /usr/local/pgsql/etc
++----------------------------------------------------------------
++
++B. Stop replication server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pgreplicate -D /usr/local/pgsql/etc stop
++----------------------------------------------------------------
++
++usage: pgreplicate [-D path_of_config_file] [-W path_of_work_files]
++[-w wait time before fork process][-U login user][-l][-n][-v][-h][stop]
++ -l: print error logs in the log file.
++ -n: don't run in daemon mode.
++ -v: debug mode. need '-n' flag
++ -h: print this help
++ stop: stop pgreplicate
++(config file default path: ./pgreplicate.conf)
++
++4-2. cluster DB server
++$PG_HOME = /usr/local/pgsql
++$PG_DATA = /usr/local/pgsql/data
++
++A. Start cluster DB server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data
++----------------------------------------------------------------
++
++B. Stop cluster DB server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pg_ctl stop -D /usr/local/pgsql/data
++----------------------------------------------------------------
++
++C-1. RE start (recovery) cluster DB server with backup
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-R"
++----------------------------------------------------------------
++
++C-2. RE start (recovery) cluster DB server without backup
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-r"
++----------------------------------------------------------------
++
++D. Upgrade cluster DB server with pg_dump
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-U"
++----------------------------------------------------------------
++
++4-3. load balance server
++
++A. Start load balance server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pglb -D /usr/local/pgsql/share
++----------------------------------------------------------------
++
++B. Stop load balance server
++----------------------------------------------------------------
++$ /usr/local/pgsql/bin/pglb -D /usr/local/pgsql/share stop
++----------------------------------------------------------------
++
++usage: pglb [-D path_of_config_file] [-W path_of_work_files] [-n][-v][-h][stop]
++ -l: print error logs in the log file.
++ -n: don't run in daemon mode.
++ -v: debug mode. need '-n' flag
++ -h: print this help
++ stop: stop pglb
++ (config file default path: ./pglb.conf)
+diff -aruN postgresql-8.2.4/README_PGCLUSTER pgcluster-1.7.0rc7/README_PGCLUSTER
+--- postgresql-8.2.4/README_PGCLUSTER 1970-01-01 01:00:00.000000000 +0100
++++ pgcluster-1.7.0rc7/README_PGCLUSTER 2007-02-19 01:00:40.000000000 +0100
+@@ -0,0 +1,118 @@
++PGCluster: Multi-Master Synchronous Replication System for PostgreSQL
++===========================================================
++
++PGCluster is a multi-master and synchronous replication system that supports load balancing of PostgreSQL.
++
++Changed:
++ $INSTALL_DIR/GNUmakefile.in
++ $INSTALL_DIR/INSTALL_PGCLUSTER
++ $INSTALL_DIR/README_PGCLUSTER
++ $INSTALL_DIR/configure
++ $INSTALL_DIR/configure.in
++ $INSTALL_DIR/pgcluster.sh.tmpl
++ $INSTALL_DIR/src/Makefile
++ $INSTALL_DIR/src/Makefile.global.in
++ $INSTALL_DIR/src/backend/Makefile
++ $INSTALL_DIR/src/backend/access/transam/clog.c
++ $INSTALL_DIR/src/backend/access/transam/xact.c
++ $INSTALL_DIR/src/backend/catalog/catalog.c
++ $INSTALL_DIR/src/backend/commands/analyze.c
++ $INSTALL_DIR/src/backend/commands/copy.c
++ $INSTALL_DIR/src/backend/commands/sequence.c
++ $INSTALL_DIR/src/backend/executor/functions.c
++ $INSTALL_DIR/src/backend/libpq/Makefile
++ $INSTALL_DIR/src/backend/libpq/be-fsstubs.c
++ $INSTALL_DIR/src/backend/libpq/cluster.conf.sample
++ $INSTALL_DIR/src/backend/libpq/recovery.c
++ $INSTALL_DIR/src/backend/libpq/lifecheck.c
++ $INSTALL_DIR/src/backend/libpq/replicate.c
++ $INSTALL_DIR/src/backend/libpq/replicate_com.c
++ $INSTALL_DIR/src/backend/main/main.c
++ $INSTALL_DIR/src/backend/parser/gram.y
++ $INSTALL_DIR/src/backend/parser/keywords.c
++ $INSTALL_DIR/src/backend/parser/parse_clause.c
++ $INSTALL_DIR/src/backend/parser/parse_relation.c
++ $INSTALL_DIR/src/backend/postmaster/postmaster.c
++ $INSTALL_DIR/src/backend/storage/large_object/inv_api.c
++ $INSTALL_DIR/src/backend/storage/lmgr/deadlock.c
++ $INSTALL_DIR/src/backend/storage/lmgr/lmgr.c
++ $INSTALL_DIR/src/backend/storage/lmgr/lock.c
++ $INSTALL_DIR/src/backend/storage/lmgr/proc.c
++ $INSTALL_DIR/src/backend/tcop/postgres.c
++ $INSTALL_DIR/src/backend/tcop/pquery.c
++ $INSTALL_DIR/src/backend/tcop/utility.c
++ $INSTALL_DIR/src/backend/utils/adt/float.c
++ $INSTALL_DIR/src/backend/utils/adt/nabstime.c
++ $INSTALL_DIR/src/backend/utils/adt/ri_triggers.c
++ $INSTALL_DIR/src/backend/utils/adt/timestamp.c
++ $INSTALL_DIR/src/backend/utils/error/assert.c
++ $INSTALL_DIR/src/backend/utils/error/elog.c
++ $INSTALL_DIR/src/backend/utils/fmgr/fmgr.c
++ $INSTALL_DIR/src/backend/utils/mb/mbutils.c
++ $INSTALL_DIR/src/backend/utils/misc/guc.c
++ $INSTALL_DIR/src/backend/utils/misc/postgresql.conf.sample
++ $INSTALL_DIR/src/bin/initdb/initdb.c
++ $INSTALL_DIR/src/bin/pg_dump/pg_dump.c
++ $INSTALL_DIR/src/bin/pg_dump/pg_dumpall.c
++ $INSTALL_DIR/src/include/pg_config.h.in
++ $INSTALL_DIR/src/include/replicate.h
++ $INSTALL_DIR/src/include/replicate_com.h
++ $INSTALL_DIR/src/include/storage/lmgr.h
++ $INSTALL_DIR/src/include/storage/proc.h
++ $INSTALL_DIR/src/interfaces/libpq/Makefile
++ $INSTALL_DIR/src/makefiles/Makefile.aix
++ $INSTALL_DIR/src/makefiles/Makefile.freebsd
++ $INSTALL_DIR/src/makefiles/Makefile.hpux
++ $INSTALL_DIR/src/makefiles/Makefile.linux
++ $INSTALL_DIR/src/makefiles/Makefile.netbsd
++ $INSTALL_DIR/src/makefiles/Makefile.openbsd
++ $INSTALL_DIR/src/makefiles/Makefile.solaris
++ $INSTALL_DIR/src/makefiles/Makefile.sunos4
++Added:
++ $INSTALL_DIR/src/pgcluster/Makefile
++ $INSTALL_DIR/src/pgcluster/libpgc/Makefile
++ $INSTALL_DIR/src/pgcluster/libpgc/libpgc.h
++ $INSTALL_DIR/src/pgcluster/libpgc/sem.c
++ $INSTALL_DIR/src/pgcluster/libpgc/show.c
++ $INSTALL_DIR/src/pgcluster/libpgc/signal.c
++ $INSTALL_DIR/src/pgcluster/pglb/AUTHORS
++ $INSTALL_DIR/src/pgcluster/pglb/COPYING
++ $INSTALL_DIR/src/pgcluster/pglb/Makefile
++ $INSTALL_DIR/src/pgcluster/pglb/child.c
++ $INSTALL_DIR/src/pgcluster/pglb/cluster_table.c
++ $INSTALL_DIR/src/pgcluster/pglb/lifecheck.c
++ $INSTALL_DIR/src/pgcluster/pglb/load_balance.c
++ $INSTALL_DIR/src/pgcluster/pglb/main.c
++ $INSTALL_DIR/src/pgcluster/pglb/pglb.conf.sample
++ $INSTALL_DIR/src/pgcluster/pglb/pglb.h
++ $INSTALL_DIR/src/pgcluster/pglb/pool_auth.c
++ $INSTALL_DIR/src/pgcluster/pglb/pool_connection_pool.c
++ $INSTALL_DIR/src/pgcluster/pglb/pool_params.c
++ $INSTALL_DIR/src/pgcluster/pglb/pool_process_query.c
++ $INSTALL_DIR/src/pgcluster/pglb/pool_stream.c
++ $INSTALL_DIR/src/pgcluster/pglb/recovery.c
++ $INSTALL_DIR/src/pgcluster/pglb/socket.c
++ $INSTALL_DIR/src/pgcluster/pgrp/AUTHORS
++ $INSTALL_DIR/src/pgcluster/pgrp/COPYING
++ $INSTALL_DIR/src/pgcluster/pgrp/Makefile
++ $INSTALL_DIR/src/pgcluster/pgrp/cascade.c
++ $INSTALL_DIR/src/pgcluster/pgrp/conf.c
++ $INSTALL_DIR/src/pgcluster/pgrp/lifecheck.c
++ $INSTALL_DIR/src/pgcluster/pgrp/main.c
++ $INSTALL_DIR/src/pgcluster/pgrp/pgreplicate.conf.sample
++ $INSTALL_DIR/src/pgcluster/pgrp/pgreplicate.h
++ $INSTALL_DIR/src/pgcluster/pgrp/pqformat.c
++ $INSTALL_DIR/src/pgcluster/pgrp/recovery.c
++ $INSTALL_DIR/src/pgcluster/pgrp/replicate.c
++ $INSTALL_DIR/src/pgcluster/pgrp/rlog.c
++ $INSTALL_DIR/src/pgcluster/tool/Makefile
++ $INSTALL_DIR/src/pgcluster/tool/README.jp
++ $INSTALL_DIR/src/pgcluster/tool/pgcbench.c
++ $INSTALL_DIR/src/pgcluster/tool/pgcbench.sh
++ $INSTALL_DIR/src/pgcluster/tool/tpc-b_like.sql
++
++The latest version of this software may be obtained at
++http://pgfoundry.org/projects/pgcluster/
++
++For more information look at pgFoundry web site located at
++http://pgcluster.projects.postgresql.org/
+diff -aruN postgresql-8.2.4/configure pgcluster-1.7.0rc7/configure
+--- postgresql-8.2.4/configure 2007-02-07 04:48:58.000000000 +0100
++++ pgcluster-1.7.0rc7/configure 2007-03-01 16:27:35.000000000 +0100
+@@ -275,6 +275,8 @@
+ PACKAGE_STRING='PostgreSQL 8.2.4'
+ PACKAGE_BUGREPORT='pgsql-bugs at postgresql.org'
+
++PGCLUSTER_VERSION='1.7.0rc7'
++
+ ac_unique_file="src/backend/access/common/heaptuple.c"
+ ac_default_prefix=/usr/local/pgsql
+ # Factoring default headers for most tests.
+@@ -314,7 +316,7 @@
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS configure_args build build_cpu build_vendor build_os host host_cpu host_vendor host_os PORTNAME docdir enable_nls WANTED_LANGUAGES default_port enable_shared enable_rpath enable_debug DTRACE DTRACEFLAGS enable_dtrace CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP GCC TAS autodepend INCLUDES enable_thread_safety with_tcl with_perl with_python with_krb5 krb_srvtab with_pam with_ldap with_bonjour with_openssl with_zlib EGREP ELF_SYS LDFLAGS_SL AWK FLEX FLEXFLAGS LN_S LD with_gnu_ld ld_R_works RANLIB ac_ct_RANLIB TAR STRIP ac_ct_STRIP STRIP_STATIC_LIB STRIP_SHARED_LIB YACC YFLAGS PERL perl_archlibexp perl_privlibexp perl_useshrplib p
erl_embed_ldflags PYTHON python_version python_configdir python_includespec python_libdir python_libspec python_additional_libs HAVE_IPV6 LIBOBJS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS LDAP_LIBS_FE LDAP_LIBS_BE HAVE_POSIX_SIGNALS MSGFMT MSGMERGE XGETTEXT localedir TCLSH TCL_CONFIG_SH TCL_INCLUDE_SPEC TCL_LIB_FILE TCL_LIBS TCL_LIB_SPEC TCL_SHARED_BUILD TCL_SHLIB_LD_LIBS NSGMLS JADE have_docbook DOCBOOKSTYLE COLLATEINDEX SGMLSPL vpath_build LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS configure_args build build_cpu build_vendor build_os host host_cpu host_vendor host_os PORTNAME docdir enable_nls WANTED_LANGUAGES default_port enable_shared enable_rpath enable_debug DTRACE DTRACEFLAGS enable_dtrace CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP GCC TAS autodepend INCLUDES enable_thread_safety with_tcl with_perl with_python with_krb5 krb_srvtab with_pam with_ldap with_bonjour with_openssl with_zlib EGREP ELF_SYS LDFLAGS_SL AWK FLEX FLEXFLAGS LN_S LD with_gnu_ld ld_R_works RANLIB ac_ct_RANLIB TAR STRIP ac_ct_STRIP STRIP_STATIC_LIB STRIP_SHARED_LIB YACC YFLAGS PERL perl_archlibexp perl_privlibexp perl_useshrplib p
erl_embed_ldflags PYTHON python_version python_configdir python_includespec python_libdir python_libspec python_additional_libs HAVE_IPV6 LIBOBJS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS LDAP_LIBS_FE LDAP_LIBS_BE HAVE_POSIX_SIGNALS MSGFMT MSGMERGE XGETTEXT localedir TCLSH TCL_CONFIG_SH TCL_INCLUDE_SPEC TCL_LIB_FILE TCL_LIBS TCL_LIB_SPEC TCL_SHARED_BUILD TCL_SHLIB_LD_LIBS NSGMLS JADE have_docbook DOCBOOKSTYLE COLLATEINDEX SGMLSPL vpath_build LTLIBOBJS PGCLUSTER_VERSION'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
+@@ -1241,6 +1243,10 @@
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+ _ACEOF
+
++cat >>confdefs.h <<_ACEOF
++#define PGCLUSTER_VERSION "$PGCLUSTER_VERSION"
++_ACEOF
<<Diff was trimmed, longer than 597 lines>>
More information about the pld-cvs-commit
mailing list