aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/parallel.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-24 15:55:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-24 15:55:57 -0400
commit588d963b00e5e4385b6425418e3faa726f63f72e (patch)
treeea104b491189a036fd36898359b960bb914f6a08 /src/bin/pg_dump/parallel.c
parenta596db332b8c7f593a82af86f69353ba08f6214c (diff)
downloadpostgresql-588d963b00e5e4385b6425418e3faa726f63f72e.tar.gz
postgresql-588d963b00e5e4385b6425418e3faa726f63f72e.zip
Create src/fe_utils/, and move stuff into there from pg_dump's dumputils.
Per discussion, we want to create a static library and put the stuff into it that until now has been shared across src/bin/ directories by ad-hoc methods like symlinking a source file. This commit creates the library and populates it with a couple of files that contain the widely-useful portions of pg_dump's dumputils.c file. dumputils.c survives, because it has some stuff that didn't seem appropriate for fe_utils, but it's significantly smaller and is no longer referenced from any other directory. Follow-on patches will move more stuff into fe_utils. The Mkvcbuild.pm hacking here is just a best guess; we'll see how the buildfarm likes it.
Diffstat (limited to 'src/bin/pg_dump/parallel.c')
-rw-r--r--src/bin/pg_dump/parallel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/parallel.c b/src/bin/pg_dump/parallel.c
index 9ce7711bf4d..91672949e69 100644
--- a/src/bin/pg_dump/parallel.c
+++ b/src/bin/pg_dump/parallel.c
@@ -20,6 +20,7 @@
#include "parallel.h"
#include "pg_backup_utils.h"
+#include "fe_utils/string_utils.h"
#ifndef WIN32
#include <sys/types.h>