mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
d694e0bb79
This function allows us to fsync the specified file or directory. It's useful, for example, when we want to sync the file that pg_file_write() writes out or that COPY TO exports the data into, for durability. Author: Fujii Masao Reviewed-By: Julien Rouhaud, Arthur Zakirov, Michael Paquier, Atsushi Torikoshi Discussion: https://www.postgresql.org/message-id/CAHGQGwGY8uzZ_k8dHRoW1zDcy1Z7=5GQ+So4ZkVy2u=nLsk=hA@mail.gmail.com
26 lines
565 B
Makefile
26 lines
565 B
Makefile
# contrib/adminpack/Makefile
|
|
|
|
MODULE_big = adminpack
|
|
OBJS = \
|
|
$(WIN32RES) \
|
|
adminpack.o
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
|
|
EXTENSION = adminpack
|
|
DATA = adminpack--1.0.sql adminpack--1.0--1.1.sql adminpack--1.1--2.0.sql\
|
|
adminpack--2.0--2.1.sql
|
|
PGFILEDESC = "adminpack - support functions for pgAdmin"
|
|
|
|
REGRESS = adminpack
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/adminpack
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|