Giter VIP home page Giter VIP logo

pg_rewind's Introduction

pg_rewind
=========

pg_rewind is a tool for synchronizing a PostgreSQL data directory with another
PostgreSQL data directory that was forked from the first one. The result is
equivalent to rsyncing the first data directory (referred to as the old cluster
from now on) with the second one (the new cluster). The advantage of pg_rewind
over rsync is that pg_rewind uses the WAL to determine changed data blocks,
and does not require reading through all files in the cluster. That makes it
a lot faster when the database is large and only a small portion of it differs
between the clusters.

Note: As pg_rewind has been included in PostgreSQL 9.5, new major releases
of pg_rewind will not be included in this repository. This means that master
branch is now inactive.

For those reasons, this branch is actually empty of content and will not be
updated anymore. For versions compatible with PostgreSQL 9.3 and 9.4, please
refer to branches REL9_3_STABLE and REL9_4_STABLE respectively.

pg_rewind's People

Contributors

disco-stu avatar hlinnaka avatar michaelpq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pg_rewind's Issues

pg_rewind does not work on 9.4

Hi.
I was install pg_rewind on both pgsql servers, set to config:
wal_log_hints = on
full_page_writes = on
Restart master with pg_resetxlog

After I try connect from slave to master via pg_rewind, I get this message:
pg_rewind -D /var/lib/postgresql/9.4/main --source-server="host=master"
target master need to use either data checksums or "wal_log_hints = on".

This is wrong, couse target master have wal_log_hints = on.

Test pg_rewind error

After install and test pg_rewind I got same error like this:
pg_rewind -D /var/lib/postgresql/9.4/slave --source-pgdata='/var/lib/postgresql/9.4/master' -v
unexpected control file CRC
pg_rewind -D /var/lib/postgresql/9.4/slave --source-server="host=localhost port=5433 user=postgres" -v
connected to remote server
unexpected control file CRC
I have see the code but still do not understand why may cause this error.

Replication slots causes failure

I'm getting an error when using pg_rewing with replicaiton slots enabled:

$ pg_rewind --target-pgdata=/tmp/primary --source-server="port=5532 user=thom dbname=postgres"
The servers diverged at WAL position 0/152B0E48 on timeline 1.
Rewinding from Last common checkpoint at 0/152B0DE0 on timeline 1
error reading xlog record: record with zero length at 0/152D6248
could not remove directory "/tmp/primary/pg_replslot/standby3_physical_slot": Directory not empty

pg_rewind with async replication

Hi all,

Can we use pg_rewind when two server are linked with async replication?
I tried to test with following simple scenario. But failed due to recycle WAL file by the server.

  1. Build async replication.
  2. kill master postgres process
  3. promote standby server to master
  4. start old master server
  5. stop old master server
  6. perform the pg_rewind
    -> it failed and I got following errors.

The servers diverged at WAL position 0/3000000 on timeline 1.
could not open file "data/pg_xlog/000000010000000000000002": No such file or directory
could not previous WAL record at 0/20000F0: (null)

In this case, should we use the wal_keep_segments? or do you have suggestions about that the WAL file will be recycled?

'unrecognized heap2 record type 32' with PG 9.3

I've caught such message from pg_rewind while rewinding old master of PostgreSQL 9.3.5. Here is the console output:

postgres@xivastore01e /tmp $ /usr/pgsql-9.3/bin/pg_rewind -v --target-pgdata=/var/lib/pgsql/9.3/data/ --source-server='host=xivastore01d.mail.yandex.net port=5432 dbname=postgres connect_timeout=1'
connected to remote server
fetched file "global/pg_control", length 8192
fetched file "pg_xlog/00000004.history", length 135
The servers diverged at WAL position 1AC7/57F5F3E8 on timeline 3.
Rewinding from Last common checkpoint at 1AC6/C3565398 on timeline 3
unrecognized heap2 record type 32
postgres@xivastore01e /tmp $ /usr/pgsql-9.3/bin/pg_xlogdump -t 3 -s 1AC6/C3565398 -e 1AC7/57F5F3E8 >/tmp/xlogdump
postgres@xivastore01e /tmp $

Compressed output of pg_xlogdump could be taken here.

Regression failures on OSX

sql/pg_rewind.sh uses a sed -i command not working on OSX as option -i has a mandatory field. We should remove that...

Wrong control file size after using pg_rewind

I get control file on old master of size 240 bytes after using pg_rewind. The way to reproduce the problem is:

  1. configure two 9.4 nodes with wal_log_hints=on: nodeA as master and nodeB as streaming synchronous replica of nodeA. Here is the postgresql.conf.
  2. Execute "kill -9 -u postgres" on nodeA.
  3. Promote nodeB as the new master.
  4. Start PostgreSQL on nodeA to perform recovery and stop it.
  5. Use pg_rewind with getting the following lines on stdout:
error reading xlog record: record with zero length at 0/4000090
The servers diverged at WAL position 0/3000250 on timeline 1.
Rewinding from Last common checkpoint at 0/2000060 on timeline 1
Done!
  1. Create recovery.conf pointing to nodeB as the new master and start PostgreSQL.

It start normally, it replays wal from primary and everything seems to work fine. But later I am not able to do the failover in the opposite direction (switch master from nodeB to nodeA) because after step 5 the size of control file on nodeA is 240 bytes. Next time I try to use pg_rewind I get the following error. I have checked it several times with the same result. I have also looked the source code and haven't found the reason why this could happen. Any ideas on what is the cause of the problem?

pg_rewind fails to rewind from last checkpoint before the point of diversion

If checkpoint happens before crash of master then rewind process starts from point of diversion and not from last checkpoint before the point of diversion.

Steps to reproduce the problem:

  1. [Master] CHECKPOINT
  2. [ Kill Master process ]
    $ pg_controldata ../master-data/ | grep "Database cluster state"
    Database cluster state: in production
  3. [Standby] Promote as new master
  4. [ Start Old master] excluding replication of configuration
  5. [ Cleanly shutdown Old master]
  6. pg_rewind

findLastCheckpoint function fails to identify the last checkpoint before diversion point,
assumes both locations are same hence rewinding process starts from the point of fork.

RE: Handle creation/removal of directory trees correctly

I want to confirm my understanding regarding last commit [ Handle creation/removal of directory trees correctly.] ce1f5d6

The files are sorted on the basis of "file_action_t enum" . But It will fail if two targets under same directory tree has action FILE_ACTION_REMOVEDIR and parent comes before child.

for example, while removing tablespace files
pg_tblspc/16387/PG_9.4_201312231 (REMOVEDIR)
pg_tblspc/16387/PG_9.4_201312231/12907 (REMOVEDIR)

In this case it will fail to remove PG_9.4_201312231 ?

Please correct me I am thinking in wrong direction

Fails with pg_xlog/xlogtemp files

It happens quite rare but it happens:

error reading xlog record: record with zero length at 1/D5000090
unexpected result while fetching remote files: ERROR:  could not open file "pg_xlog/xlogtemp.23056" for reading: No such file or directory

The servers diverged at WAL position 1/D4A081B0 on timeline 174.
Rewinding from Last common checkpoint at 1/D30A5650 on timeline 174

It seems that process_remote_file does not skip such files and I don't know if it safe to do.

Since I've caught it with 9.4 I write about it here. But it seems that version in master also does not handle this situation.

pg_control file gets truncated by pg_rewind operation

I'm learning to use pg_rewind and got into a scenario when pg_control and few other files got truncated
when pg_rewind enters into an error condition.

The servers diverged at WAL position 0/3B6A5780 on timeline 1.
Rewinding from Last common checkpoint at 0/3B2B0A20 on timeline 1
could not open destination file "/var/mps/db_pgsql/data/postgresql.conf": Permission denied

The postgresql.conf had only readonly permissions for all users which I have subsequently fixed. However it would be great if instead of corrupting the pg_control file, pg_rewind did a bail out when it doesn't have permissions.

I googled around and found that a similar issue has been raised and patch proposed for this:
https://www.postgresql.org/message-id/20180115072537.GC1724%40paquier.xyz

Can this patch be applied/ported to the 9.4 stable branch?

Thanks and Regards

can't compile pg_rewind

Hi, try to setup, but get error on make step:
$ git clone git://git.postgresql.org/git/postgresql.git
$ git clone git clone https://github.com/vmware/pg_rewind
$ cd pg_rewind
$ sudo make USE_PGXS=1 top_srcdir=../postgresql/
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/include -I. -I. -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -DFRONTEND -c -o pg_rewind.o pg_rewind.c
pg_rewind.c: In function ‘sanityChecks’:
pg_rewind.c:293:22: error: ‘ControlFileData’ has no member named ‘wal_log_hints’
!ControlFile_target.wal_log_hints)
^
make: *** [pg_rewind.o] Error 1

What am I doing wrong?
p.s.
$ uname -a
Fedora Linux matanuii.lo 3.13.3-201.fc20.x86_64 #1 SMP Fri Feb 14 19:08:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/cloog-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)
$ make --version
GNU Make 3.82
Built for x86_64-redhat-linux-gnu

pg_rewind fails if crashed old master do not have extra WAL record than old standby (new standby)

pg_rewind fail if crashed old master has do not have extra WAL which is not present on new master.

Steps to reproduce issue:

  1. Setup Streaming Replication (stand alone machine : master server port -5432, standby server port-5433 )
  2. Create table on master (table1) and after that *cleanly shutdown it *
  3. Promote standby server
  4. Create table on new master (table2) (promoted standby)
  5. Run pg_rewind

After running pg_rewind old master should remove table1 and create table2, (as per new master ), but It displays message (No rewind required) :

messages displayed:

connected to remote server
fetched file "global/pg_control", length 8192
fetched file "pg_xlog/00000002.history", length 41
The servers diverged at WAL position 0/4000090 on timeline 1.
No rewind required.

Execution of pg_rewind

In the test script (e.g., testdir.sh) which is contained in pg_rewind, the new master server stop before pg_rewind is executed.
Do we always need to stop the new master server when we execute pg_rewind?

Skipping temp files

In master this has been fixed in another way in this thread.
Back-porting it to older branches is impossible since it needs a new feature in core.
Two other ways for solving this problem (plpgsql and copy/pasted new functions in the extension) seems too complicated. Maybe in older versions we could just skip all files that are known as temporary for us?

Most of the pg_rewind failures in my tests were the following:

  1. pg_xlog/xlogtemp files, fixed https://github.com/vmware/pg_rewind/issues/45,
  2. Temporary tables:
error reading xlog record: record with zero length at 0/78000090
unexpected result while fetching remote files: ERROR:  could not open file "base/13003/t6_2424967" for reading: No such file or directory
The servers diverged at WAL position 0/76BADD50 on timeline 303.
Rewinding from Last common checkpoint at 0/7651F870 on timeline 303
  1. pg_internal.init(I've caught it on several databases and it always happened for postgres DB):
error reading xlog record: record with zero length at 1/7D000090
unexpected result while fetching remote files: ERROR:  could not open file "base/13003/pg_internal.init" for reading: No such file or directory
The servers diverged at WAL position 1/7B7668A8 on timeline 690.
Rewinding from Last common checkpoint at 1/7B749560 on timeline 690

I also wonder why it is not possible to run pg_rewind one more time after failing in such cases (it fails with unexpected control file size 0, expected 8192)? Is it unsafe?

pg_rewind wants to use nonexistent xlog with 9.4beta3

I'm hitting situation when pg_rewind b473ef4 can't do the job on PostgreSQL 9.4beta3. The problem does not reproduce on PostgreSQL 9.3.5 with f530910. And I suppose it did not reproduce on 9.4beta1, but I don't have first beta right now to check.

The way to reproduce the problem is:

  1. Configure PostgreSQL with checksums, wal archiving and wal_log_hints = on on two hosts - master (pgtest01f) and sync replica (pgtest01g).
  2. (Optional) Do several checkpoints on master to get something like that in pg_control file and pg_xlog/archive directories.
  3. Kill master with SIGKILL.
  4. Promote sync replica (pgtest01g) as the new master.
  5. Start killed master (pgtest01f) to complete recovery and stop gracefully.
  6. Run /usr/pgsql-9.4/bin/pg_rewind --target-pgdata=/var/lib/pgsql/9.4/data/ --source-server='host=pgtest01g.domain.com' on old master.

Step six will give following on stdout/stderr:

could not open file "/var/lib/pgsql/9.4/data//pg_xlog/000000010000000000000000": No such file or directory
could not find previous WAL record at 0/3026DB8: (null)
The servers diverged at WAL position 0/3026DB8 on timeline 1.

But xlog 000000010000000000000000 never existed. And exactly the same situation is happening even after several timeline switches or lots of xlogs generated with several amount of checkpoints.

Memory consumption by pg_rewind

Sometimes 4 GB of RAM is not enough for pg_rewind and OOM kills it. This happens at least with 9.4 as of 3ae65a3 (AFAIK it happened sometimes in previous versions too). The output of running pg_rewind under valgrind is the following:

==6037== Memcheck, a memory error detector
==6037== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==6037== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==6037== Command: /usr/pgsql-9.4/bin/pg_rewind --target-pgdata=/var/lib/pgsql/9.4/data --source-server=host=pgtest02f.domain.com\ port=5432\ dbname=postgres\ user=admin\ password=********\ connect_timeout=10
==6037==
The servers diverged at WAL position 2/9D4DA1C0 on timeline 1437.
Rewinding from Last common checkpoint at 2/9D37DF70 on timeline 1437
Done!
==6037==
==6037== HEAP SUMMARY:
==6037==     in use at exit: 1,116,935,944 bytes in 497,903 blocks
==6037==   total heap usage: 620,530 allocs, 122,627 frees, 1,168,194,912 bytes allocated
==6037==
==6037== 4 bytes in 1 blocks are possibly lost in loss record 10 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x51189E0: link_nfa_nodes (regex_internal.c:978)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 16 bytes in 1 blocks are possibly lost in loss record 32 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 16 bytes in 1 blocks are possibly lost in loss record 33 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 16 bytes in 1 blocks are possibly lost in loss record 34 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 16 bytes in 1 blocks are possibly lost in loss record 35 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 20 bytes in 1 blocks are possibly lost in loss record 43 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 20 bytes in 1 blocks are possibly lost in loss record 44 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 20 bytes in 1 blocks are possibly lost in loss record 45 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 20 bytes in 1 blocks are possibly lost in loss record 46 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 32 bytes in 1 blocks are possibly lost in loss record 69 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 32 bytes in 1 blocks are possibly lost in loss record 70 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 32 bytes in 1 blocks are possibly lost in loss record 71 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 32 bytes in 1 blocks are possibly lost in loss record 72 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 33 bytes in 1 blocks are possibly lost in loss record 77 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x409574: pg_malloc (fe_memutils.c:30)
==6037==    by 0x4071E0: libpq_executeFileMap (libpq_fetch.c:316)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 34 bytes in 1 blocks are definitely lost in loss record 78 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x50DDE91: strdup (strdup.c:43)
==6037==    by 0x408D66: set_pglocale_pgservice (exec.c:597)
==6037==    by 0x40290F: main (pg_rewind.c:99)
==6037==
==6037== 40 bytes in 10 blocks are possibly lost in loss record 81 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 40 bytes in 10 blocks are possibly lost in loss record 82 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 40 bytes in 1 blocks are definitely lost in loss record 84 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x50DDE91: strdup (strdup.c:43)
==6037==    by 0x408DA9: set_pglocale_pgservice (exec.c:586)
==6037==    by 0x40290F: main (pg_rewind.c:99)
==6037==
==6037== 64 bytes in 3 blocks are possibly lost in loss record 93 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 64 bytes in 3 blocks are possibly lost in loss record 94 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 88 bytes in 1 blocks are possibly lost in loss record 107 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 88 bytes in 1 blocks are possibly lost in loss record 108 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 88 bytes in 1 blocks are possibly lost in loss record 109 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 120 bytes in 24 blocks are possibly lost in loss record 123 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 120 bytes in 24 blocks are possibly lost in loss record 124 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 128 bytes in 8 blocks are possibly lost in loss record 126 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 128 bytes in 8 blocks are possibly lost in loss record 127 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 152 bytes in 38 blocks are possibly lost in loss record 130 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 152 bytes in 38 blocks are possibly lost in loss record 131 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 160 bytes in 40 blocks are possibly lost in loss record 133 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x51189E0: link_nfa_nodes (regex_internal.c:978)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 164 bytes in 41 blocks are possibly lost in loss record 134 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 164 bytes in 41 blocks are possibly lost in loss record 135 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 168 bytes in 21 blocks are possibly lost in loss record 137 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511898A: link_nfa_nodes (regex_internal.c:993)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 172 bytes in 43 blocks are possibly lost in loss record 140 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 200 bytes in 50 blocks are possibly lost in loss record 148 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 200 bytes in 50 blocks are possibly lost in loss record 149 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 200 bytes in 50 blocks are possibly lost in loss record 150 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 200 bytes in 1 blocks are definitely lost in loss record 152 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4ACED: pqParseInput3 (fe-protocol3.c:204)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x406E01: libpq_executeFileMap (libpq_fetch.c:441)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 200 bytes in 1 blocks are definitely lost in loss record 153 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4ACED: pqParseInput3 (fe-protocol3.c:204)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406F24: libpq_executeFileMap (libpq_fetch.c:503)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 204 bytes in 51 blocks are possibly lost in loss record 154 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 208 bytes in 52 blocks are possibly lost in loss record 155 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 212 bytes in 53 blocks are possibly lost in loss record 156 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x51189E0: link_nfa_nodes (regex_internal.c:978)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 256 bytes in 1 blocks are definitely lost in loss record 163 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 264 bytes in 3 blocks are possibly lost in loss record 164 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 468 bytes in 39 blocks are possibly lost in loss record 183 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 472 bytes in 118 blocks are possibly lost in loss record 184 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 472 bytes in 118 blocks are possibly lost in loss record 185 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 480 bytes in 40 blocks are possibly lost in loss record 186 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 516 bytes in 129 blocks are possibly lost in loss record 193 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 520 bytes in 87 blocks are possibly lost in loss record 194 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 560 bytes in 35 blocks are possibly lost in loss record 195 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 560 bytes in 35 blocks are possibly lost in loss record 196 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 600 bytes in 3 blocks are possibly lost in loss record 197 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E41E6B: PQcopyResult (fe-exec.c:298)
==6037==    by 0x4E42083: pqRowProcessor (fe-exec.c:1026)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 600 bytes in 150 blocks are possibly lost in loss record 198 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 604 bytes in 151 blocks are possibly lost in loss record 199 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 604 bytes in 151 blocks are possibly lost in loss record 200 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==
==6037== 608 bytes in 101 blocks are possibly lost in loss record 201 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 612 bytes in 51 blocks are possibly lost in loss record 202 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E321: parse_bracket_exp (regcomp.c:2891)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 624 bytes in 52 blocks are possibly lost in loss record 204 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x511E33A: parse_bracket_exp (regcomp.c:2893)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 640 bytes in 40 blocks are possibly lost in loss record 205 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 640 bytes in 40 blocks are possibly lost in loss record 206 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 688 bytes in 43 blocks are possibly lost in loss record 207 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 736 bytes in 46 blocks are possibly lost in loss record 211 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 880 bytes in 10 blocks are possibly lost in loss record 214 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 1,136 bytes in 71 blocks are possibly lost in loss record 222 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,184 bytes in 37 blocks are possibly lost in loss record 224 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,184 bytes in 74 blocks are possibly lost in loss record 225 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,248 bytes in 39 blocks are possibly lost in loss record 226 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,312 bytes in 1 blocks are possibly lost in loss record 230 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128C07: re_compile_internal (regcomp.c:1123)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,376 bytes in 43 blocks are possibly lost in loss record 235 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,408 bytes in 44 blocks are possibly lost in loss record 236 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,408 bytes in 44 blocks are possibly lost in loss record 237 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,472 bytes in 46 blocks are possibly lost in loss record 238 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,472 bytes in 46 blocks are possibly lost in loss record 239 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,480 bytes in 74 blocks are possibly lost in loss record 240 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,500 bytes in 75 blocks are possibly lost in loss record 241 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,500 bytes in 75 blocks are possibly lost in loss record 242 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,500 bytes in 75 blocks are possibly lost in loss record 243 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,504 bytes in 47 blocks are possibly lost in loss record 244 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,536 bytes in 48 blocks are possibly lost in loss record 245 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,536 bytes in 6 blocks are definitely lost in loss record 246 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 1,568 bytes in 7 blocks are possibly lost in loss record 247 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,568 bytes in 49 blocks are possibly lost in loss record 248 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,760 bytes in 44 blocks are possibly lost in loss record 249 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5114385: re_node_set_merge (regex_internal.c:1197)
==6037==    by 0x5118724: calc_eclosure_iter (regcomp.c:1697)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,048 bytes in 1 blocks are possibly lost in loss record 257 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x51287F5: re_compile_internal (regcomp.c:853)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,048 bytes in 1 blocks are possibly lost in loss record 258 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x51287F5: re_compile_internal (regcomp.c:853)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 2,048 bytes in 1 blocks are possibly lost in loss record 259 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 2,048 bytes in 8 blocks are possibly lost in loss record 260 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,112 bytes in 24 blocks are possibly lost in loss record 267 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,120 bytes in 53 blocks are possibly lost in loss record 268 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5114385: re_node_set_merge (regex_internal.c:1197)
==6037==    by 0x5118724: calc_eclosure_iter (regcomp.c:1697)
==6037==    by 0x51187FA: calc_eclosure_iter (regcomp.c:1690)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,176 (2,048 direct, 128 indirect) bytes in 1 blocks are definitely lost in loss record 269 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,240 bytes in 10 blocks are possibly lost in loss record 271 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,248 (200 direct, 2,048 indirect) bytes in 1 blocks are definitely lost in loss record 272 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4A0B5: getCopyStart (fe-protocol3.c:1320)
==6037==    by 0x4E4A6C6: pqParseInput3 (fe-protocol3.c:348)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x406E48: libpq_executeFileMap (libpq_fetch.c:452)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 2,248 (200 direct, 2,048 indirect) bytes in 1 blocks are definitely lost in loss record 273 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4ADCF: pqParseInput3 (fe-protocol3.c:466)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 2,560 bytes in 10 blocks are possibly lost in loss record 274 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,736 bytes in 38 blocks are possibly lost in loss record 275 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,952 bytes in 41 blocks are possibly lost in loss record 277 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 3,272 (200 direct, 3,072 indirect) bytes in 1 blocks are definitely lost in loss record 278 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4ADCF: pqParseInput3 (fe-protocol3.c:466)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x40749E: libpqGetFile (libpq_fetch.c:364)
==6037==    by 0x402E52: main (pg_rewind.c:398)
==6037==
==6037== 3,672 bytes in 51 blocks are possibly lost in loss record 280 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 3,672 bytes in 51 blocks are possibly lost in loss record 281 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x5128226: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 3,784 bytes in 43 blocks are possibly lost in loss record 283 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,048 bytes in 46 blocks are possibly lost in loss record 284 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511BB1F: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,096 bytes in 1 blocks are possibly lost in loss record 285 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511BE51: build_trtable (regexec.c:3499)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 4,264 bytes in 13 blocks are possibly lost in loss record 287 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128BE5: re_compile_internal (regcomp.c:1121)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,496 (4,096 direct, 400 indirect) bytes in 1 blocks are definitely lost in loss record 288 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511BE51: build_trtable (regexec.c:3499)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,608 bytes in 288 blocks are possibly lost in loss record 289 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,608 bytes in 288 blocks are possibly lost in loss record 290 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,912 bytes in 307 blocks are possibly lost in loss record 291 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,912 bytes in 307 blocks are possibly lost in loss record 292 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AAB7: create_cd_newstate (regex_internal.c:1700)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 4,960 bytes in 155 blocks are possibly lost in loss record 293 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,368 bytes in 199 blocks are possibly lost in loss record 306 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C44A: parse_bracket_exp (regcomp.c:3021)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,512 bytes in 74 blocks are possibly lost in loss record 307 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,600 bytes in 75 blocks are possibly lost in loss record 308 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x51294F5: re_compile_internal (regex_internal.c:1540)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,656 bytes in 26 blocks are definitely lost in loss record 309 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,768 bytes in 846 blocks are possibly lost in loss record 310 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511898A: link_nfa_nodes (regex_internal.c:993)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 6,888 bytes in 21 blocks are possibly lost in loss record 311 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128BE5: re_compile_internal (regcomp.c:1121)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 8,608 bytes in 1,076 blocks are possibly lost in loss record 322 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511898A: link_nfa_nodes (regex_internal.c:993)
==6037==    by 0x512908D: re_compile_internal (regcomp.c:1217)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,216 bytes in 288 blocks are possibly lost in loss record 325 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,216 bytes in 288 blocks are possibly lost in loss record 326 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,216 bytes in 288 blocks are possibly lost in loss record 327 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,216 bytes in 288 blocks are possibly lost in loss record 328 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,792 bytes in 306 blocks are possibly lost in loss record 329 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,824 bytes in 307 blocks are possibly lost in loss record 330 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,824 bytes in 307 blocks are possibly lost in loss record 331 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511AB0A: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,840 bytes in 615 blocks are possibly lost in loss record 332 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 9,856 bytes in 308 blocks are possibly lost in loss record 333 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 10,464 bytes in 654 blocks are possibly lost in loss record 336 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5118011: register_state (regex_internal.c:1576)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 11,304 bytes in 157 blocks are possibly lost in loss record 341 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 11,473 (200 direct, 11,273 indirect) bytes in 1 blocks are definitely lost in loss record 342 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E4ADCF: pqParseInput3 (fe-protocol3.c:466)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x40749E: libpqGetFile (libpq_fetch.c:364)
==6037==    by 0x402D67: main (pg_rewind.c:202)
==6037==
==6037== 14,472 bytes in 201 blocks are possibly lost in loss record 345 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511C45C: parse_bracket_exp (regcomp.c:3023)
==6037==    by 0x5127AEB: parse_expression (regcomp.c:2227)
==6037==    by 0x51284B0: parse_reg_exp (regcomp.c:2160)
==6037==    by 0x5127E04: parse_expression (regcomp.c:2419)
==6037==    by 0x51281CD: parse_reg_exp (regcomp.c:2153)
==6037==    by 0x5128A41: re_compile_internal (regcomp.c:2081)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 14,688 bytes in 306 blocks are possibly lost in loss record 347 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5114385: re_node_set_merge (regex_internal.c:1197)
==6037==    by 0x5118724: calc_eclosure_iter (regcomp.c:1697)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 14,688 bytes in 2,544 blocks are possibly lost in loss record 348 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 16,384 bytes in 8 blocks are possibly lost in loss record 372 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 17,024 bytes in 2,954 blocks are possibly lost in loss record 374 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511867A: calc_eclosure_iter (regex_internal.c:966)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 17,088 bytes in 356 blocks are possibly lost in loss record 375 of 486
==6037==    at 0x4C27C20: realloc (vg_replace_malloc.c:662)
==6037==    by 0x5114385: re_node_set_merge (regex_internal.c:1197)
==6037==    by 0x5118724: calc_eclosure_iter (regcomp.c:1697)
==6037==    by 0x5129116: re_compile_internal (regcomp.c:1630)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 25,344 bytes in 288 blocks are possibly lost in loss record 389 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 25,988 bytes in 2,305 blocks are possibly lost in loss record 390 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 26,016 bytes in 2,305 blocks are possibly lost in loss record 391 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 27,016 bytes in 307 blocks are possibly lost in loss record 392 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B9C7: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 27,964 bytes in 2,496 blocks are possibly lost in loss record 393 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5117F13: register_state (regex_internal.c:966)
==6037==    by 0x511AA61: create_cd_newstate (regex_internal.c:1720)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 27,972 bytes in 2,498 blocks are possibly lost in loss record 394 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x511A8D8: create_cd_newstate (regex_internal.c:1026)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 30,260 (224 direct, 30,036 indirect) bytes in 1 blocks are definitely lost in loss record 395 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 36,864 bytes in 36 blocks are possibly lost in loss record 400 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E3EBF7: pqAddTuple (fe-exec.c:870)
==6037==    by 0x4E42173: pqRowProcessor (fe-exec.c:1076)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 40,960 bytes in 20 blocks are possibly lost in loss record 404 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 49,856 bytes in 38 blocks are possibly lost in loss record 408 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x51287C7: re_compile_internal (regcomp.c:846)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 52,480 bytes in 40 blocks are possibly lost in loss record 412 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128C07: re_compile_internal (regcomp.c:1123)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 53,680 bytes in 1,729 blocks are definitely lost in loss record 414 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x409574: pg_malloc (fe_memutils.c:30)
==6037==    by 0x4071E0: libpq_executeFileMap (libpq_fetch.c:316)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 56,416 bytes in 43 blocks are possibly lost in loss record 415 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128C18: re_compile_internal (regcomp.c:1124)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 62,976 bytes in 48 blocks are possibly lost in loss record 416 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x51287C7: re_compile_internal (regcomp.c:846)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 64,960 bytes in 1 blocks are possibly lost in loss record 419 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E3EA19: pqResultAlloc (fe-exec.c:548)
==6037==    by 0x4E420F3: pqRowProcessor (fe-exec.c:1062)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x40749E: libpqGetFile (libpq_fetch.c:364)
==6037==    by 0x402E52: main (pg_rewind.c:398)
==6037==
==6037== 65,600 bytes in 50 blocks are possibly lost in loss record 421 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128C18: re_compile_internal (regcomp.c:1124)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 66,912 bytes in 51 blocks are possibly lost in loss record 422 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x5128C07: re_compile_internal (regcomp.c:1123)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 117,800 (1,344 direct, 116,456 indirect) bytes in 6 blocks are definitely lost in loss record 436 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x40811D: process_local_file (filemap.c:317)
==6037==    by 0x406B3F: recurse_dir (copy_fetch.c:109)
==6037==    by 0x406BA1: recurse_dir (copy_fetch.c:114)
==6037==    by 0x402F68: main (pg_rewind.c:276)
==6037==
==6037== 141,312 bytes in 69 blocks are possibly lost in loss record 437 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x51287F5: re_compile_internal (regcomp.c:853)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 151,552 bytes in 74 blocks are possibly lost in loss record 438 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x51287F5: re_compile_internal (regcomp.c:853)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 153,800 (2,048 direct, 151,752 indirect) bytes in 1 blocks are definitely lost in loss record 439 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E3EACE: pqResultAlloc (fe-exec.c:572)
==6037==    by 0x4E420A5: pqRowProcessor (fe-exec.c:1042)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x4E42667: PQexecFinish (fe-exec.c:1996)
==6037==    by 0x40764F: libpqProcessFileList (libpq_fetch.c:190)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 202,752 bytes in 2,304 blocks are possibly lost in loss record 444 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 219,648 bytes in 2,496 blocks are possibly lost in loss record 447 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511A899: create_cd_newstate (regex_internal.c:1665)
==6037==    by 0x511B6F4: build_trtable (regex_internal.c:1540)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 231,424 bytes in 113 blocks are possibly lost in loss record 448 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E3EACE: pqResultAlloc (fe-exec.c:572)
==6037==    by 0x4E4134A: PQsetResultAttrs (fe-exec.c:237)
==6037==    by 0x4E4202E: PQcopyResult (fe-exec.c:309)
==6037==    by 0x4E42083: pqRowProcessor (fe-exec.c:1026)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 330,240 bytes in 1,290 blocks are definitely lost in loss record 450 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 338,432 bytes in 1,322 blocks are definitely lost in loss record 451 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x512A31C: regcomp (regcomp.c:481)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 478,604 (5,824 direct, 472,780 indirect) bytes in 26 blocks are definitely lost in loss record 460 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x4082F0: process_remote_file (filemap.c:104)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,203,648 bytes in 538 blocks are possibly lost in loss record 471 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511BE51: build_trtable (regexec.c:3499)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,355,200 bytes in 575 blocks are possibly lost in loss record 472 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511BE51: build_trtable (regexec.c:3499)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 2,959,360 bytes in 1,445 blocks are possibly lost in loss record 475 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 3,260,416 bytes in 1,592 blocks are possibly lost in loss record 476 of 486
==6037==    at 0x4C267BB: calloc (vg_replace_malloc.c:593)
==6037==    by 0x511B79A: build_trtable (regexec.c:3468)
==6037==    by 0x5126168: re_search_internal (regexec.c:2319)
==6037==    by 0x5126512: regexec@@GLIBC_2.3.4 (regexec.c:251)
==6037==    by 0x407EB9: isRelDataFile (filemap.c:539)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 11,449,849 (345,400 direct, 11,104,449 indirect) bytes in 1,727 blocks are definitely lost in loss record 481 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E41097: PQmakeEmptyPGresult (fe-exec.c:144)
==6037==    by 0x4E41E6B: PQcopyResult (fe-exec.c:298)
==6037==    by 0x4E42083: pqRowProcessor (fe-exec.c:1026)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== 29,368,236 (289,184 direct, 29,079,052 indirect) bytes in 1,291 blocks are definitely lost in loss record 484 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408381: process_remote_file (filemap.c:167)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 29,588,144 (296,128 direct, 29,292,016 indirect) bytes in 1,322 blocks are definitely lost in loss record 485 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4C27BA2: realloc (vg_replace_malloc.c:662)
==6037==    by 0x512A030: re_compile_internal (regcomp.c:754)
==6037==    by 0x512A37E: regcomp (regcomp.c:500)
==6037==    by 0x407E9F: isRelDataFile (filemap.c:528)
==6037==    by 0x408417: process_remote_file (filemap.c:234)
==6037==    by 0x407724: libpqProcessFileList (libpq_fetch.c:231)
==6037==    by 0x402F58: main (pg_rewind.c:275)
==6037==
==6037== 1,030,900,166 bytes in 1,232 blocks are possibly lost in loss record 486 of 486
==6037==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==6037==    by 0x4E3EA19: pqResultAlloc (fe-exec.c:548)
==6037==    by 0x4E420F3: pqRowProcessor (fe-exec.c:1062)
==6037==    by 0x4E4B00B: pqParseInput3 (fe-protocol3.c:758)
==6037==    by 0x4E42367: PQgetResult (fe-exec.c:1723)
==6037==    by 0x406FC7: libpq_executeFileMap (libpq_fetch.c:268)
==6037==    by 0x402F97: main (pg_rewind.c:294)
==6037==
==6037== LEAK SUMMARY:
==6037==    definitely lost: 1,678,370 bytes in 8,758 blocks
==6037==    indirectly lost: 70,265,510 bytes in 446,591 blocks
==6037==      possibly lost: 1,043,640,003 bytes in 38,223 blocks
==6037==    still reachable: 1,352,061 bytes in 4,331 blocks
==6037==         suppressed: 0 bytes in 0 blocks
==6037== Reachable blocks (those to which a pointer was found) are not shown.
==6037== To see them, rerun with: --leak-check=full --show-reachable=yes
==6037==
==6037== For counts of detected and suppressed errors, rerun with: -v
==6037== ERROR SUMMARY: 170 errors from 170 contexts (suppressed: 6 from 6)

I don't know if there is any way to provide more diagnostics... I can give tarballs of PGDATA on source and master hosts, for example.

Tablespace support

The README mentions "tablespace support" as a TODO. I am trying to understand what's really the issue with tablespaces. I looked at the pg_rewind code, but could not find any mention except a TODO for handling symbolic links. I wonder if that's related to the tablespace issue stated in the README since tablespaces will have symbolic pointing from pg_tblspc directory to the actual directory hosting the tablespace data.

Can someone please confirm ? If there are some other known issues about tablespace, it will be a good idea to document/fix them.

unable rewind after "drop database"

Unable rewind in case when database dropped before rewind.

$ pg_rewind -D first/ --source-server="host=127.0.0.1 port=5433 user=postgres"
The servers diverged at WAL position 0/7029110 on timeline 5.
Rewinding from Last common checkpoint at 0/7029070 on timeline 5
error reading xlog record: record with zero length at 0/7029178
could not remove directory "first//base/32783": Directory not empty

How to reproduce

  1. Setup streaming replication
  2. Create test database
  3. Touch trigger file and promote stand-by as new master
  4. Stop old master
  5. Drop test database
  6. Try to rewind old master

Problem while attaching old master as new standby

I am getting error while attaching old master as new standby.

I think I am doing something wrong. Please correct me if I am doing it in wrong way.

The detailed process is as follows.

  1. Implement replication
    [ server-1 : master ]

bin/initdb -D data -E UTF8 --no-locale -k

cat <> data/postgresql.conf
shared_buffers = 512MB
wal_level = hot_standby
max_wal_senders = 10
hot_standby = on
listen_addresses = '*'
wal_sender_timeout = 0
wal_receiver_timeout = 0
EOF

cat <> data/pg_hba.conf
host replication all all trust
local replication postgres trust
host all all all trust
EOF

bin/pg_ctl start -D data -w

[ server-2 : standby ]

bin/pg_basebackup -D data -h 192.168.122.120 --xlog -P
cp recovery.conf data/
bin/pg_ctl start -w

  1. Create table on server-1

create table test1 (col text);
insert into test1 values('TEST');
checkpoint;

  1. Kill server1 processes & promote standby

  2. Starts and stops server1

  3. Execute pg_rewind (successfully runs)

  4. On server-1

cat << EOF >> data/recovery.conf
standby_mode = on
recovery_target_timeline = 'latest'
primary_conninfo = 'host=192.168.122.121'
EOF

bin/pg_ctl start -w

then I got following messages:

waiting for server to start....LOG: database system was interrupted; last known up at 2014-01-20 17:36:35 IST
LOG: entering standby mode
LOG: redo starts at 0/30181D8
LOG: record with zero length at 0/303B958
LOG: started streaming WAL from primary at 0/3000000 on timeline 2
FATAL: the database system is starting up
.FATAL: the database system is starting up
.FATAL: the database system is starting up
.FATAL: the database system is starting up
.
FATAL: the database system is starting up

and new standby fails to start up.

What is that I am missing ?

pg_rewind gives error (target master must be shut down cleanly.) when master crashed unexpectedly.

Steps to reproduce issue:

  1. Setup Streaming Replication (stand alone machine : master server port -5432, standby server port-5433 )
  2. Do some operation on master server:
    postgres=# create table test(id int);
  3. Crash the Postgres process of master:
    kill -9 [pid of postgres process of master server]
  4. Promote standby server
  5. Run pg_rewind:
    $ /samrat/postgresql/contrib/pg_rewind/pg_rewind -D /samrat/master-data/ --source-server='host=localhost port=5433 dbname=postgres' -v
    connected to remote server
    fetched file "global/pg_control", length 8192
    target master must be shut down cleanly.
  6. Check masters control information:
    $ /samrat/postgresql/install/bin/pg_controldata /samrat/master-data/ | grep "Database cluster state"
    Database cluster state: in production

IIUC It is because pg_rewind does some checks before resynchronizing the PostgreSQL data directories.
But In real time scenarios, for example due to hardware failure if master crashed and its controldata shows the state "in production" then pg_rewind will fail to pass this check.

pg_rewind make fail

postgresql-9.4.1/contrib/pg_rewind# make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I../../src/interfaces/libpq -I. -I. -I../../src/include -DFRONTEND -c -o pg_rewind.o pg_rewind.c
pg_rewind.c: In function ‘checkControlFile’:
pg_rewind.c:475:2: error: unknown type name ‘pg_crc32c’
pg_rewind.c:478:2: warning: implicit declaration of function ‘INIT_CRC32C’ [-Wimplicit-function-declaration]
pg_rewind.c:479:2: warning: implicit declaration of function ‘COMP_CRC32C’ [-Wimplicit-function-declaration]
pg_rewind.c:482:2: warning: implicit declaration of function ‘FIN_CRC32C’ [-Wimplicit-function-declaration]
pg_rewind.c:485:2: warning: implicit declaration of function ‘EQ_CRC32C’ [-Wimplicit-function-declaration]
make: *** [pg_rewind.o] Error 1
Is there something wrong with my make env?

fatal error: commands/dbcommands_xlog.h: No such file or directory

Hello.

pg_rewind not compiling for PostgreSQL 9.4.3.

pg_rewind.c: In function 'checkControlFile':
pg_rewind.c:475:2: error: unknown type name 'pg_crc32c'
pg_crc32c crc;
^
pg_rewind.c:478:2: warning: implicit declaration of function 'INIT_CRC32C' [-Wimplicit-function-declaration]
INIT_CRC32C(crc);
^
pg_rewind.c:479:2: warning: implicit declaration of function 'COMP_CRC32C' [-Wimplicit-function-declaration]
COMP_CRC32C(crc,
^
pg_rewind.c:482:2: warning: implicit declaration of function 'FIN_CRC32C' [-Wimplicit-function-declaration]
FIN_CRC32C(crc);
^
pg_rewind.c:485:7: warning: implicit declaration of function 'EQ_CRC32C' [-Wimplicit-function-declaration]
if (!EQ_CRC32C(crc, ControlFile->crc))
^
: recipe for target 'pg_rewind.o' failed
make: *** [pg_rewind.o] Error 1
make: *** Waiting for unfinished jobs....
parsexlog.c:28:38: fatal error: commands/dbcommands_xlog.h: No such file or directory
compilation terminated.
: recipe for target 'parsexlog.o' failed
make: *** [parsexlog.o] Error 1

Problem building against 9.4 on SLES 11 SP1

When building on SLES 11 SP1, I can't seem to find the pgcommon library. It seems that the libpgcommon.a file is actually in /var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib64.

[17:25:22][Step 2/2] rm -f xlogreader.c && ln -s ../../build/postgresql/postgresql-9.4.1/src/backend/access/transam/xlogreader.c .
[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o xlogreader.o xlogreader.c
[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o util.o util.c
[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o datapagemap.o datapagemap.c
[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o timeline.o timeline.c
[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o fetch.o fetch.c
[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o copy_fetch.o copy_fetch.c
[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o libpq_fetch.o libpq_fetch.c
[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o filemap.o filemap.c
[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables pg_rewind.o parsexlog.o xlogreader.o util.o datapagemap.o timeline.o fetch.o copy_fetch.o libpq_fetch.o filemap.o -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -lpgcommon -lpgport -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -lpq -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -Wl,--as-needed  -lpgcommon -lpgport -lssl -lcrypto -lgssapi_krb5 -lz -lrt -lcrypt -ldl -lm  -o pg_rewind
[17:25:23][Step 2/2] /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpgcommon
[17:25:23][Step 2/2] collect2: ld returned 1 exit status
[17:25:23][Step 2/2] make: *** [pg_rewind] Error 1
[17:25:23][Step 2/2] Process exited with code 2

For zero length WAL record pg_rewind gives error.

Steps to reproduce issue:

  1. Setup Streaming Replication (stand alone machine : master server port -5432, standby server port-5433 )
  2. Cleanly shutdown master (Do not add any data on master)
  3. Promote standby server
  4. Create table on new master (promoted standby)
    postgres=# create table test(id int);
  5. Run pg_rewind:
    $ /samrat/postgresql/contrib/pg_rewind/pg_rewind -D /samrat/master-data/ --source-server='host=localhost port=5433
    connected to remote server
    connected to remote server
    fetched file "global/pg_control", length 8192
    fetched file "pg_xlog/00000002.history", length 41
    Last common WAL position: 0/4000090 on timeline 1
    could not previous WAL record at 0/4000090: record with zero length at 0/4000090

Ignore temporary files and folders when rewinding

Temporary files and folders can be created on a server when for example doing on-disk sort operations, they should be ignored when rewinding, in a manner similar to what pg_basebackup does.

This actually just requires some checks on PG_TEMP_FILES_DIR and PG_TEMP_FILE_PREFIX. Note that it is not mandatory to remove all the files, some of them could be kept...

Can't make pg_rewind-REL9_4_STABLE on RedHat 6

Hi,
I am new to postgres and am looking at the pg_rewind utility for our 9.4.5 version of postgres cluster.
I have downloaded the pg_rewind-REL9_4_STABLE and tried putting it in the contrib/pg_rewind directory as told in the readme document.
When I run make I get errors:
Makefile:54: ../../src/Makefile.global: No such file or directory
Makefile:55: /contrib/contrib-global.mk: No such file or directory
make: *** No rule to make target `/contrib/contrib-global.mk'. Stop.

I run the make command as root on the Linux system.
Could someone please help me?
Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.