PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
copydir.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* copydir.h
4
* Copy a directory.
5
*
6
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/include/storage/copydir.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
#ifndef COPYDIR_H
14
#define COPYDIR_H
15
16
typedef
enum
FileCopyMethod
17
{
18
FILE_COPY_METHOD_COPY
,
19
FILE_COPY_METHOD_CLONE
,
20
}
FileCopyMethod
;
21
22
/* GUC parameters */
23
extern
PGDLLIMPORT
int
file_copy_method
;
24
25
extern
void
copydir
(
const
char
*fromdir,
const
char
*todir,
bool
recurse);
26
extern
void
copy_file
(
const
char
*fromfile,
const
char
*tofile);
27
28
#endif
/* COPYDIR_H */
PGDLLIMPORT
#define PGDLLIMPORT
Definition:
c.h:1291
FileCopyMethod
FileCopyMethod
Definition:
copydir.h:17
FILE_COPY_METHOD_COPY
@ FILE_COPY_METHOD_COPY
Definition:
copydir.h:18
FILE_COPY_METHOD_CLONE
@ FILE_COPY_METHOD_CLONE
Definition:
copydir.h:19
copy_file
void copy_file(const char *fromfile, const char *tofile)
Definition:
copydir.c:133
copydir
void copydir(const char *fromdir, const char *todir, bool recurse)
Definition:
copydir.c:48
file_copy_method
PGDLLIMPORT int file_copy_method
Definition:
copydir.c:34
src
include
storage
copydir.h
Generated on Mon Apr 28 2025 06:13:25 for PostgreSQL Source Code by
1.9.4