Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8bdd12b

Browse files
committed
Add pg_recvlogical, a tool to receive data logical decoding data.
This is fairly basic at the moment, but it's at least useful fortesting and debugging, and possibly more.Andres Freund
1 parent250f8a7 commit8bdd12b

File tree

8 files changed

+1135
-125
lines changed

8 files changed

+1135
-125
lines changed

‎src/bin/pg_basebackup/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/pg_basebackup
22
/pg_receivexlog
3+
/pg_recvlogical

‎src/bin/pg_basebackup/Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,31 @@ override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
2020

2121
OBJS=receivelog.o streamutil.o$(WIN32RES)
2222

23-
all: pg_basebackup pg_receivexlog
23+
all: pg_basebackup pg_receivexlog pg_recvlogical
2424

2525
pg_basebackup: pg_basebackup.o$(OBJS) | submake-libpq submake-libpgport
2626
$(CC)$(CFLAGS) pg_basebackup.o$(OBJS)$(libpq_pgport)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
2727

2828
pg_receivexlog: pg_receivexlog.o$(OBJS) | submake-libpq submake-libpgport
2929
$(CC)$(CFLAGS) pg_receivexlog.o$(OBJS)$(libpq_pgport)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
3030

31+
pg_recvlogical: pg_recvlogical.o$(OBJS) | submake-libpq submake-libpgport
32+
$(CC)$(CFLAGS) pg_recvlogical.o$(OBJS)$(libpq_pgport)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
33+
3134
install: all installdirs
3235
$(INSTALL_PROGRAM) pg_basebackup$(X)'$(DESTDIR)$(bindir)/pg_basebackup$(X)'
3336
$(INSTALL_PROGRAM) pg_receivexlog$(X)'$(DESTDIR)$(bindir)/pg_receivexlog$(X)'
37+
$(INSTALL_PROGRAM) pg_recvlogical$(X)'$(DESTDIR)$(bindir)/pg_recvlogical$(X)'
3438

3539
installdirs:
3640
$(MKDIR_P)'$(DESTDIR)$(bindir)'
3741

3842
uninstall:
3943
rm -f'$(DESTDIR)$(bindir)/pg_basebackup$(X)'
4044
rm -f'$(DESTDIR)$(bindir)/pg_receivexlog$(X)'
45+
rm -f'$(DESTDIR)$(bindir)/pg_recvlogical$(X)'
4146

4247
cleandistcleanmaintainer-clean:
43-
rm -f pg_basebackup$(X) pg_receivexlog$(X)$(OBJS) pg_basebackup.o pg_receivexlog.o
48+
rm -f pg_basebackup$(X) pg_receivexlog$(X) pg_recvlogical$(X)\
49+
pg_basebackup.o pg_receivexlog.o pg_recvlogical.o\
50+
$(OBJS)

‎src/bin/pg_basebackup/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# src/bin/pg_basebackup/nls.mk
22
CATALOG_NAME = pg_basebackup
33
AVAIL_LANGUAGES = cs de es fr it ja pl pt_BR ru zh_CN
4-
GETTEXT_FILES = pg_basebackup.c pg_receivexlog.c receivelog.c streamutil.c ../../common/fe_memutils.c
4+
GETTEXT_FILES = pg_basebackup.c pg_receivexlog.cpg_recvlogical.creceivelog.c streamutil.c ../../common/fe_memutils.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp