mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 05:47:04 +02:00
f2553d4306
This adds the option to use ICU as the default locale provider for either the whole cluster or a database. New options for initdb, createdb, and CREATE DATABASE are used to select this. Since some (legacy) code still uses the libc locale facilities directly, we still need to set the libc global locale settings even if ICU is otherwise selected. So pg_database now has three locale-related fields: the existing datcollate and datctype, which are always set, and a new daticulocale, which is only set if ICU is selected. A similar change is made in pg_collation for consistency, but in that case, only the libc-related fields or the ICU-related field is set, never both. Reviewed-by: Julien Rouhaud <rjuju123@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/5e756dd6-0e91-d778-96fd-b1bcb06c161a%402ndquadrant.com
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for src/test
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# src/test/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/test
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
SUBDIRS = perl regress isolation modules authentication recovery subscription
|
|
|
|
ifeq ($(with_icu),yes)
|
|
SUBDIRS += icu
|
|
endif
|
|
|
|
# Test suites that are not safe by default but can be run if selected
|
|
# by the user via the whitespace-separated list in variable
|
|
# PG_TEST_EXTRA:
|
|
ifeq ($(with_gssapi),yes)
|
|
ifneq (,$(filter kerberos,$(PG_TEST_EXTRA)))
|
|
SUBDIRS += kerberos
|
|
endif
|
|
endif
|
|
ifeq ($(with_ldap),yes)
|
|
ifneq (,$(filter ldap,$(PG_TEST_EXTRA)))
|
|
SUBDIRS += ldap
|
|
endif
|
|
endif
|
|
ifeq ($(with_ssl),openssl)
|
|
ifneq (,$(filter ssl,$(PG_TEST_EXTRA)))
|
|
SUBDIRS += ssl
|
|
endif
|
|
endif
|
|
|
|
# We don't build or execute these by default, but we do want "make
|
|
# clean" etc to recurse into them. (We must filter out those that we
|
|
# have conditionally included into SUBDIRS above, else there will be
|
|
# make confusion.)
|
|
ALWAYS_SUBDIRS = $(filter-out $(SUBDIRS),examples kerberos icu ldap ssl)
|
|
|
|
# We want to recurse to all subdirs for all standard targets, except that
|
|
# installcheck and install should not recurse into the subdirectory "modules".
|
|
|
|
recurse_alldirs_targets := $(filter-out installcheck install, $(standard_targets))
|
|
installable_dirs := $(filter-out modules, $(SUBDIRS))
|
|
|
|
$(call recurse,$(recurse_alldirs_targets))
|
|
$(call recurse,installcheck, $(installable_dirs))
|
|
$(call recurse,install, $(installable_dirs))
|
|
|
|
$(recurse_always)
|