Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecb156d

Browse files
committed
If we don't have shared libraries, we don't have conversions. Make
conversion_create.sql be empty (except for a helpful comment) in thiscase. Allows initdb to succeed with --disable-shared.
1 parenta4f8f12 commitecb156d

File tree

1 file changed

+5
-1
lines changed
  • src/backend/utils/mb/conversion_procs

1 file changed

+5
-1
lines changed

‎src/backend/utils/mb/conversion_procs/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for utils/mb/conversion_procs
55
#
66
# IDENTIFICATION
7-
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.10 2003/11/29 19:52:02 pgsql Exp $
7+
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.11 2004/01/21 19:22:19 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -147,6 +147,7 @@ all: $(SQLSCRIPT)
147147
@for dirin$(DIRS);do$(MAKE) -C$$dir$@||exit;done
148148

149149
$(SQLSCRIPT): Makefile
150+
ifeq ($(enable_shared), yes)
150151
@set $(CONVERSIONS) ; \
151152
while [ "$$#" -gt 0 ] ;\
152153
do\
@@ -160,6 +161,9 @@ $(SQLSCRIPT): Makefile
160161
echo "DROP CONVERSION pg_catalog.$$name;";\
161162
echo "CREATE DEFAULT CONVERSION pg_catalog.$$name FOR '$$se' TO '$$de' FROM $$func;";\
162163
done > $@
164+
else
165+
echo "-- No conversion support, for lack of shared library support" > $@
166+
endif
163167

164168
$(REGRESSION_SCRIPT): Makefile
165169
@cp regress_prolog$@;\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp