From 588d963b00e5e4385b6425418e3faa726f63f72e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Mar 2016 15:55:44 -0400 Subject: 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. --- src/bin/scripts/createuser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bin/scripts/createuser.c') 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); -- cgit v1.2.3