aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.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/scripts/createuser.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/scripts/createuser.c')
-rw-r--r--src/bin/scripts/createuser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c
index 35e48e334f7..e88879dc19e 100644
--- a/src/bin/scripts/createuser.c
+++ b/src/bin/scripts/createuser.c
@@ -12,7 +12,8 @@
#include "postgres_fe.h"
#include "common.h"
-#include "dumputils.h"
+#include "fe_utils/simple_list.h"
+#include "fe_utils/string_utils.h"
static void help(const char *progname);