Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5a871471
Commit
5a871471
authored
Nov 06, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change dbmirror lincense to BSD.
parent
2fe9f20d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
21 deletions
+56
-21
contrib/dbmirror/DBMirror.pl
contrib/dbmirror/DBMirror.pl
+20
-6
contrib/dbmirror/README.dbmirror
contrib/dbmirror/README.dbmirror
+18
-7
contrib/dbmirror/pending.c
contrib/dbmirror/pending.c
+18
-8
No files found.
contrib/dbmirror/DBMirror.pl
View file @
5a871471
...
@@ -10,16 +10,30 @@
...
@@ -10,16 +10,30 @@
#
#
# Written by Steven Singer (ssinger@navtechinc.com)
# Written by Steven Singer (ssinger@navtechinc.com)
# (c) 2001-2002 Navtech Systems Support Inc.
# (c) 2001-2002 Navtech Systems Support Inc.
#
Released under the GNU Public License version 2. See COPYING.
#
ALL RIGHTS RESERVED;
#
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose, without fee, and without a written agreement
# is hereby granted, provided that the above copyright notice and this
# paragraph and the following two paragraphs appear in all copies.
#
#
# This program is distributed in the hope that it will be useful,
# IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
# GNU General Public License for more details.
# DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
# ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
# PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
#
#
#
#
##############################################################################
##############################################################################
# $Id: DBMirror.pl,v 1.
3 2002/10/19 02:16:40
momjian Exp $
# $Id: DBMirror.pl,v 1.
4 2002/11/06 17:50:53
momjian Exp $
#
#
##############################################################################
##############################################################################
...
...
contrib/dbmirror/README.dbmirror
View file @
5a871471
...
@@ -7,13 +7,24 @@ database Written and maintained by Steven Singer(ssinger@navtechinc.com)
...
@@ -7,13 +7,24 @@ database Written and maintained by Steven Singer(ssinger@navtechinc.com)
(c) 2001-2002 Navtech Systems Support Inc.
(c) 2001-2002 Navtech Systems Support Inc.
Released under the GNU Public License version 2. See COPYING.
ALL RIGHTS RESERVED
Permission to use, copy, modify, and distribute this software and its
This program is distributed in the hope that it will be useful,
documentation for any purpose, without fee, and without a written agreement
but WITHOUT ANY WARRANTY; without even the implied warranty of
is hereby granted, provided that the above copyright notice and this
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
paragraph and the following two paragraphs appear in all copies.
GNU General Public License for more details.
IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
...
...
contrib/dbmirror/pending.c
View file @
5a871471
/****************************************************************************
/****************************************************************************
* pending.c
* pending.c
* $Id: pending.c,v 1.
6 2002/10/19 02:16:40
momjian Exp $
* $Id: pending.c,v 1.
7 2002/11/06 17:50:53
momjian Exp $
*
*
* This file contains a trigger for Postgresql-7.x to record changes to tables
* This file contains a trigger for Postgresql-7.x to record changes to tables
* to a pending table for mirroring.
* to a pending table for mirroring.
...
@@ -8,13 +8,24 @@
...
@@ -8,13 +8,24 @@
*
*
* Written by Steven Singer (ssinger@navtechinc.com)
* Written by Steven Singer (ssinger@navtechinc.com)
* (c) 2001-2002 Navtech Systems Support Inc.
* (c) 2001-2002 Navtech Systems Support Inc.
*
Released under the GNU Public License version 2. See COPYING.
*
ALL RIGHTS RESERVED
*
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without a written agreement
* is hereby granted, provided that the above copyright notice and this
* paragraph and the following two paragraphs appear in all copies.
*
*
* This program is distributed in the hope that it will be useful,
* IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
* GNU General Public License for more details.
* DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*
*
*
***************************************************************************/
***************************************************************************/
...
@@ -46,8 +57,7 @@ char *packageData(HeapTuple tTupleData, TupleDesc tTupleDecs,
...
@@ -46,8 +57,7 @@ char *packageData(HeapTuple tTupleData, TupleDesc tTupleDecs,
#define BUFFER_SIZE 256
#define BUFFER_SIZE 256
#define MAX_OID_LEN 10
#define MAX_OID_LEN 10
#define DEBUG_OUTPUT
/*#define DEBUG_OUTPUT 1 */
extern
Datum
recordchange
(
PG_FUNCTION_ARGS
);
extern
Datum
recordchange
(
PG_FUNCTION_ARGS
);
PG_FUNCTION_INFO_V1
(
recordchange
);
PG_FUNCTION_INFO_V1
(
recordchange
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment