Skip to content

Commit

Permalink
Fix to src/slonik/slonik.c - it wasn't pulling in the right version of
Browse files Browse the repository at this point in the history
slony1_funcs.?.sql in some cases
  • Loading branch information
Christopher Browne committed Mar 15, 2007
1 parent 2b99af0 commit d75740c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions RELEASE-1.1.8
@@ -1,4 +1,4 @@
$Id: RELEASE-1.1.8,v 1.1.2.4 2007-03-13 20:05:28 cbbrowne Exp $
$Id: RELEASE-1.1.8,v 1.1.2.5 2007-03-15 18:55:34 cbbrowne Exp $

- Change to rotatelogs configuration to support older versions of Apache
log rotator
Expand All @@ -8,4 +8,6 @@ log rotator
- Fix to xxid Makefile: in the 1.1 branch, xxid.v73.sql is still in
use, and should be copied to generate the other versions.

- Fix to src/backend/slony1_funcs.v80.sql - comment on the right function in v8.0
- Fix to src/backend/slony1_funcs.v80.sql - comment on the right function in v8.0

- Fix to src/slonik/slonik.c - it wasn't pulling in the right version of slony1_funcs.?.sql for late breaking versions of PostgreSQL
8 changes: 4 additions & 4 deletions src/slonik/slonik.c
Expand Up @@ -6,7 +6,7 @@
* Copyright (c) 2003-2006, PostgreSQL Global Development Group
* Author: Jan Wieck, Afilias USA INC.
*
* $Id: slonik.c,v 1.42.2.8 2007-02-28 22:07:49 cbbrowne Exp $
* $Id: slonik.c,v 1.42.2.9 2007-03-15 18:55:34 cbbrowne Exp $
*-------------------------------------------------------------------------
*/

Expand Down Expand Up @@ -1866,10 +1866,10 @@ load_slony_base(SlonikStmt * stmt, int no_id)
use_minor = 0;
break;
case 1:
use_minor = 0;
use_minor = 1;
break;
default:
use_minor = 0;
use_minor = 1;
printf("%s:%d: Possible unsupported PostgreSQL "
"version %d.%d\n",
stmt->stmt_filename, stmt->stmt_lno,
Expand Down Expand Up @@ -1969,7 +1969,7 @@ load_slony_functions(SlonikStmt * stmt, int no_id)
use_minor = 0;
break;
default:
use_minor = 0;
use_minor = 1;
printf("%s:%d: Possible unsupported PostgreSQL "
"version %d.%d\n",
stmt->stmt_filename, stmt->stmt_lno,
Expand Down

0 comments on commit d75740c

Please sign in to comment.