diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-20 09:16:24 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-20 09:16:24 +0000 |
commit | 32bc08b1d45d898aabdeeed09bcf1c2a407bbbed (patch) | |
tree | b471343c464562c72ce814d9e2ffaa3d99ead31c /src/backend/replication/walreceiverfuncs.c | |
parent | eb210ce85a6326412f2a35eb416d92801cfe997d (diff) | |
download | postgresql-32bc08b1d45d898aabdeeed09bcf1c2a407bbbed.tar.gz postgresql-32bc08b1d45d898aabdeeed09bcf1c2a407bbbed.zip |
Rethink the way walreceiver is linked into the backend. Instead than shoving
walreceiver as whole into a dynamically loaded module, split the
libpq-specific parts of it into dynamically loaded module and keep the rest
in the main backend binary.
Although Tom fixed the Windows compilation problems with the old walreceiver
module already, this is a cleaner division of labour and makes the code
more readable. There's also the prospect of adding new transport methods
as pluggable modules in the future, which this patch makes easier, though for
now the API between libpqwalreceiver and walreceiver process should be
considered private.
The libpq-specific module is now in src/backend/replication/libpqwalreceiver,
and the part linked with postgres binary is in
src/backend/replication/walreceiver.c.
Diffstat (limited to 'src/backend/replication/walreceiverfuncs.c')
-rw-r--r-- | src/backend/replication/walreceiverfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/walreceiverfuncs.c b/src/backend/replication/walreceiverfuncs.c index 4342e252d65..c1d7b558874 100644 --- a/src/backend/replication/walreceiverfuncs.c +++ b/src/backend/replication/walreceiverfuncs.c @@ -4,13 +4,13 @@ * * This file contains functions used by the startup process to communicate * with the walreceiver process. Functions implementing walreceiver itself - * are in src/backend/replication/walreceiver subdirectory. + * are in walreceiver.c. * * Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/replication/walreceiverfuncs.c,v 1.1 2010/01/15 09:19:03 heikki Exp $ + * $PostgreSQL: pgsql/src/backend/replication/walreceiverfuncs.c,v 1.2 2010/01/20 09:16:24 heikki Exp $ * *------------------------------------------------------------------------- */ |