mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
keep track of portal-related resources separately from transaction-related resources. This allows cursors to work in a somewhat sane fashion with nested transactions. For now, cursor behavior is non-subtransactional, that is a cursor's state does not roll back if you abort a subtransaction that fetched from the cursor. We might want to change that later.
33 lines
848 B
Makefile
33 lines
848 B
Makefile
#
|
|
# Makefile for utils
|
|
#
|
|
# $PostgreSQL: pgsql/src/backend/utils/Makefile,v 1.23 2004/07/17 03:29:15 tgl Exp $
|
|
#
|
|
|
|
subdir = src/backend/utils/
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
SUBDIRS := adt cache error fmgr hash init mb misc mmgr resowner sort time
|
|
SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
|
|
|
|
|
|
all: SUBSYS.o fmgroids.h
|
|
|
|
SUBSYS.o: fmgrtab.o $(SUBDIROBJS)
|
|
$(LD) $(LDREL) $(LDOUT) $@ $^
|
|
|
|
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
|
|
|
|
.PHONY: $(SUBDIRS:%=%-recursive)
|
|
$(SUBDIRS:%=%-recursive): fmgroids.h
|
|
$(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
|
|
|
|
fmgroids.h fmgrtab.c: Gen_fmgrtab.sh $(top_srcdir)/src/include/catalog/pg_proc.h
|
|
AWK='$(AWK)' $(SHELL) $< $(top_srcdir)/src/include/catalog/pg_proc.h
|
|
|
|
|
|
clean:
|
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
|
|
rm -f SUBSYS.o fmgrtab.o fmgroids.h fmgrtab.c
|