Skip to content

Commit 5a87147

Browse files
committed
Change dbmirror lincense to BSD.
1 parent 2fe9f20 commit 5a87147

File tree

3 files changed

+56
-21
lines changed

3 files changed

+56
-21
lines changed

contrib/dbmirror/DBMirror.pl

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,30 @@
1010
#
1111
# Written by Steven Singer (ssinger@navtechinc.com)
1212
# (c) 2001-2002 Navtech Systems Support Inc.
13-
# Released under the GNU Public License version 2. See COPYING.
13+
# ALL RIGHTS RESERVED;
1414
#
15+
# Permission to use, copy, modify, and distribute this software and its
16+
# documentation for any purpose, without fee, and without a written agreement
17+
# is hereby granted, provided that the above copyright notice and this
18+
# paragraph and the following two paragraphs appear in all copies.
1519
#
16-
# This program is distributed in the hope that it will be useful,
17-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
# GNU General Public License for more details.
20+
# IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
21+
# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
22+
# LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
23+
# DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
24+
# POSSIBILITY OF SUCH DAMAGE.
25+
#
26+
# THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
27+
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
28+
# AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
29+
# ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
30+
# PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
31+
#
32+
#
33+
#
2034
#
2135
##############################################################################
22-
# $Id: DBMirror.pl,v 1.3 2002/10/19 02:16:40 momjian Exp $
36+
# $Id: DBMirror.pl,v 1.4 2002/11/06 17:50:53 momjian Exp $
2337
#
2438
##############################################################################
2539

contrib/dbmirror/README.dbmirror

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,24 @@ database Written and maintained by Steven Singer(ssinger@navtechinc.com)
77

88

99
(c) 2001-2002 Navtech Systems Support Inc.
10-
Released under the GNU Public License version 2. See COPYING.
11-
12-
13-
This program is distributed in the hope that it will be useful,
14-
but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
GNU General Public License for more details.
10+
ALL RIGHTS RESERVED
11+
12+
Permission to use, copy, modify, and distribute this software and its
13+
documentation for any purpose, without fee, and without a written agreement
14+
is hereby granted, provided that the above copyright notice and this
15+
paragraph and the following two paragraphs appear in all copies.
16+
17+
IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
18+
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
19+
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
20+
DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
21+
POSSIBILITY OF SUCH DAMAGE.
22+
23+
THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
24+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
25+
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
26+
ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
27+
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1728

1829

1930

contrib/dbmirror/pending.c

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
/****************************************************************************
22
* pending.c
3-
* $Id: pending.c,v 1.6 2002/10/19 02:16:40 momjian Exp $
3+
* $Id: pending.c,v 1.7 2002/11/06 17:50:53 momjian Exp $
44
*
55
* This file contains a trigger for Postgresql-7.x to record changes to tables
66
* to a pending table for mirroring.
77
* All tables that should be mirrored should have this trigger hooked up to it.
88
*
99
* Written by Steven Singer (ssinger@navtechinc.com)
1010
* (c) 2001-2002 Navtech Systems Support Inc.
11-
* Released under the GNU Public License version 2. See COPYING.
11+
* ALL RIGHTS RESERVED
1212
*
13+
* Permission to use, copy, modify, and distribute this software and its
14+
* documentation for any purpose, without fee, and without a written agreement
15+
* is hereby granted, provided that the above copyright notice and this
16+
* paragraph and the following two paragraphs appear in all copies.
1317
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU General Public License for more details.
18+
* IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
19+
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
20+
* LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
21+
* DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
22+
* POSSIBILITY OF SUCH DAMAGE.
23+
*
24+
* THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
25+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
26+
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
27+
* ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
28+
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1829
*
1930
*
2031
***************************************************************************/
@@ -46,8 +57,7 @@ char *packageData(HeapTuple tTupleData, TupleDesc tTupleDecs,
4657

4758
#define BUFFER_SIZE 256
4859
#define MAX_OID_LEN 10
49-
#define DEBUG_OUTPUT
50-
60+
/*#define DEBUG_OUTPUT 1 */
5161
extern Datum recordchange(PG_FUNCTION_ARGS);
5262

5363
PG_FUNCTION_INFO_V1(recordchange);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy