1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

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.
This commit is contained in:
Tom Lane
2016-03-24 15:55:44 -04:00
parent a596db332b
commit 588d963b00
35 changed files with 1004 additions and 848 deletions

View File

@ -12,7 +12,7 @@
#include "postgres_fe.h"
#include "common.h"
#include "dumputils.h"
#include "fe_utils/string_utils.h"
static void help(const char *progname);