|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| clustertest/ | H | 05-Dec-2020 | - | 6,582 | 5,967 |
| config/ | H | 05-Dec-2020 | - | 4,742 | 4,093 |
| doc/ | H | 05-Dec-2020 | - | 31,470 | 24,183 |
| makefiles/ | H | 05-Dec-2020 | - | 634 | 431 |
| redhat/ | H | 05-Dec-2020 | - | 316 | 236 |
| share/ | H | 03-May-2022 | - | 180 | 133 |
| src/ | H | 05-Dec-2020 | - | 67,423 | 48,457 |
| suse/ | H | 05-Dec-2020 | - | 152 | 122 |
| tests/ | H | 05-Dec-2020 | - | 10,211 | 9,191 |
| tools/ | H | 03-May-2022 | - | 8,001 | 5,406 |
| .gitignore | H A D | 05-Dec-2020 | 214 | 15 | 14 |
| COPYRIGHT | H A D | 05-Dec-2020 | 1.1 KiB | 21 | 16 |
| GNUmakefile.in | H A D | 05-Dec-2020 | 2.4 KiB | 109 | 89 |
| INSTALL | H A D | 05-Dec-2020 | 4.9 KiB | 122 | 92 |
| Makefile | H A D | 05-Dec-2020 | 735 | 24 | 23 |
| Makefile.global.in | H A D | 05-Dec-2020 | 2.5 KiB | 120 | 97 |
| README | H A D | 05-Dec-2020 | 1.8 KiB | 53 | 36 |
| README.Unicode | H A D | 05-Dec-2020 | 2.4 KiB | 61 | 44 |
| RELEASE | H A D | 05-Dec-2020 | 11.7 KiB | 279 | 213 |
| SAMPLE | H A D | 05-Dec-2020 | 11 KiB | 287 | 236 |
| TODO | H A D | 05-Dec-2020 | 3.8 KiB | 119 | 78 |
| UPGRADING | H A D | 05-Dec-2020 | 2.9 KiB | 77 | 55 |
| aclocal.m4 | H A D | 05-Dec-2020 | 326 | 12 | 10 |
| config.h.in | H A D | 05-Dec-2020 | 1.9 KiB | 83 | 62 |
| config_msvc.h | H A D | 05-Dec-2020 | 1.4 KiB | 52 | 47 |
| configure | H A D | 03-May-2022 | 219.7 KiB | 7,908 | 6,447 |
| configure.ac | H A D | 05-Dec-2020 | 9.4 KiB | 324 | 273 |
| slony1.spec.in | H A D | 05-Dec-2020 | 8.2 KiB | 219 | 173 |
README
1Slony-I
2------------------
3
4
5Slony-I is a "master to multiple slaves" replication system with
6cascading and failover.
7
8The big picture for the development of Slony-I is a master-slave
9system that includes all features and capabilities needed to replicate
10large databases to a reasonably limited number of slave systems.
11
12Slony-I is a system for data centers and backup sites, where the
13normal mode of operation is that all nodes are available, and where
14systems may be expected to be managed in a reasonably disciplined
15fashion.
16
171. Build and install
18
19 See the INSTALL file nearby
20
212. Creating a sample database with application
22
23 See the SAMPLE file nearby
24
25 There is also a "test" directory in the source tree which contains
26 a variety of regression tests. Looking at how they work may also
27 be helpful.
28
293. Help! I ran into a problem.
30
31 The file in the documentation area named "helpitsbroken.txt"
32 contains a variety of notes describing problems that people have
33 run into in setting up Slony-I instances. This has been extended
34 into a full scale FAQ.
35
36 It may be worth checking there to see if the problem you are
37 having has already been documented and diagnosed by someone else.
38
39 There is an extensive "administrative guide" in the documentation
40 tree that includes manual pages for binaries and for the Slonik
41 language, as well as overviews of various aspects of how Slony-I
42 works and should be used, including a "Best Practices" document
43 that distills some of the hard-learned lessons and a FAQ.
44
45 This "admin guide" may be found online at:
46 <http://linuxdatabases.info/info/slony.html>
47
48You may also wish to contact the Slony-I mailing list, findable at
49<http://slony.info/>. or take a peek at who might be available to chat
50on the IRC channel #slony on freenode.net.
51
52-- Slony-I team
53
README.Unicode
1*** OUTSTANDING ISSUE WITH PostgreSQL 8.1 ***
2
3PostgreSQL 8.1 is quite a lot more strict about what UTF-8 mappings of
4Unicode characters it accepts as compared to version 8.0.
5
6If you intend to use Slony-I to update an older database to 8.1, and
7might have invalid UTF-8 values, you may be for an unpleasant
8surprise.
9
10Let us suppose we have a database running 8.0, encoding in UTF-8.
11That database will accept the sequence '\060\242' as UTF-8 compliant,
12even though it is really not.
13
14If you replicate into a PostgreSQL 8.1 instance, it will complain
15about this, either at subscribe time, where Slony-I will complain
16about detecting an invalid Unicode sequence during the COPY of the
17data, which will prevent the subscription from proceeding, or, upon
18adding data, later, where this will hang up replication fairly much
19irretrievably. (You could hack on the contents of sl_log_1, but
20that's *really* unattractive...)
21
22There have been discussions as to what might be done about this. No
23compelling strategy has yet emerged, as all are unattractive.
24
25If you are using Unicode with PostgreSQL 8.0, you run a considerable
26risk of corrupting data.
27
28If you use replication for a one-time conversion, there is a risk of
29failure due to the issues mentioned earlier; if that happens, it
30appears likely that the best answer is to fix the data on the 8.0
31system, and retry.
32
33In view of the risks, running replication between versions seems to be
34something you should not keep running any longer than is necessary to
35migrate to 8.1.
36
37http://archives.postgresql.org/pgsql-hackers/2005-12/msg00181.php
38
39Extracting from that:
40---------------------------------------------------------------
41Upgrading UNICODE databases to 8.1
42
43Postgres 8.1 includes a number of bug-fixes and improvements to
44Unicode and UTF-8 character handling. Unfortunately previous releases
45would accept character sequences that were not valid UTF-8. This
46may cause problems when upgrading your database using
47pg_dump/pg_restore resulting in an error message like this:
48
49 Invalid UNICODE byte sequence detected near byte ...
50
51To convert your pre-8.1 database to 8.1 you may have to remove and/or
52fix the offending characters. One simple way to fix the problem is to
53run your pg_dump output through the iconv command like this:
54
55 iconv -c -f UTF8 -t UTF8 -o fixed.sql dump.sql
56
57The -c flag tells iconv to omit invalid characters from output.
58
59-- Paul Lindner
60---------------------------------------------------------------
61