Home
last modified time | relevance | path

Searched refs:dstfd (Results 1 – 25 of 214) sorted by relevance

123456789

/dports/databases/postgresql13-server/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-server/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-plperl/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql13-client/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql13-docs/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql13-contrib/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-plpython/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-contrib/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1;
49 if (dstfd != -1 && !trunc &&
60 dstfd = open(dstpath, mode, pg_file_create_mode);
61 if (dstfd < 0)
72 if (dstfd == -1)
75 if (close(dstfd) != 0)
79 dstfd = -1;
95 if (lseek(dstfd, begin, SEEK_SET) == -1)
106 writelen = write(dstfd, p, writeleft);
/dports/databases/postgresql12-docs/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql12-client/postgresql-12.9/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1;
49 if (dstfd != -1 && !trunc &&
60 dstfd = open(dstpath, mode, pg_file_create_mode);
61 if (dstfd < 0)
72 if (dstfd == -1)
75 if (close(dstfd) != 0)
79 dstfd = -1;
95 if (lseek(dstfd, begin, SEEK_SET) == -1)
106 writelen = write(dstfd, p, writeleft);
/dports/databases/postgresql13-plpython/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql13-plperl/postgresql-13.5/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, 0600); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, 0600); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, 0600); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql10-client/postgresql-10.19/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, 0600); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql10-contrib/postgresql-10.19/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, 0600); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql10-plpython/postgresql-10.19/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, 0600); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql10-plperl/postgresql-10.19/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, 0600); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql10-docs/postgresql-10.19/src/bin/pg_rewind/
H A Dfile_ops.c29 static int dstfd = -1; variable
49 if (dstfd != -1 && !trunc && in open_target_file()
60 dstfd = open(dstpath, mode, 0600); in open_target_file()
61 if (dstfd < 0) in open_target_file()
72 if (dstfd == -1) in close_target_file()
75 if (close(dstfd) != 0) in close_target_file()
79 dstfd = -1; in close_target_file()
95 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
106 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql11-plperl/postgresql-11.14/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql11-docs/postgresql-11.14/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()
/dports/databases/postgresql11-plpython/postgresql-11.14/src/bin/pg_rewind/
H A Dfile_ops.c30 static int dstfd = -1; variable
50 if (dstfd != -1 && !trunc && in open_target_file()
61 dstfd = open(dstpath, mode, pg_file_create_mode); in open_target_file()
62 if (dstfd < 0) in open_target_file()
73 if (dstfd == -1) in close_target_file()
76 if (close(dstfd) != 0) in close_target_file()
80 dstfd = -1; in close_target_file()
96 if (lseek(dstfd, begin, SEEK_SET) == -1) in write_target_range()
107 writelen = write(dstfd, p, writeleft); in write_target_range()

123456789