|
1 | 1 | /****************************************************************************
|
2 | 2 | * 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 $ |
4 | 4 | *
|
5 | 5 | * This file contains a trigger for Postgresql-7.x to record changes to tables
|
6 | 6 | * to a pending table for mirroring.
|
7 | 7 | * All tables that should be mirrored should have this trigger hooked up to it.
|
8 | 8 | *
|
9 | 9 | * Written by Steven Singer (ssinger@navtechinc.com)
|
10 | 10 | * (c) 2001-2002 Navtech Systems Support Inc.
|
11 |
| - * Released under the GNU Public License version 2. See COPYING. |
| 11 | + * ALL RIGHTS RESERVED |
12 | 12 | *
|
| 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. |
13 | 17 | *
|
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. |
18 | 29 | *
|
19 | 30 | *
|
20 | 31 | ***************************************************************************/
|
@@ -46,8 +57,7 @@ char *packageData(HeapTuple tTupleData, TupleDesc tTupleDecs,
|
46 | 57 |
|
47 | 58 | #define BUFFER_SIZE 256
|
48 | 59 | #define MAX_OID_LEN 10
|
49 |
| -#define DEBUG_OUTPUT |
50 |
| - |
| 60 | +/*#define DEBUG_OUTPUT 1 */ |
51 | 61 | extern Datum recordchange(PG_FUNCTION_ARGS);
|
52 | 62 |
|
53 | 63 | PG_FUNCTION_INFO_V1(recordchange);
|
|
0 commit comments