OK, at your suggestion, IPv6 addresses will appear in pg_hba.conf, even if we don't support IPv6.
However, the server log messages stating an IPv6 socket was not made is only printed if the binary supports IPv6. The message seems to be a compromise between those who wanted a separate IPv6 GUC/flag and those who wanted it to silently fail on IPv6. --------------------------------------------------------------------------- Peter Eisentraut wrote: > Bruce Momjian writes: > > > OK, you mentioned you want to put IPv6 addresses in pg_hba.conf even if > > the OS doesn't support it. How do others feel about that. > > We do leave the "local" in there even if the OS doesn't support it. > > -- > Peter Eisentraut [EMAIL PROTECTED] > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED] > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Index: src/backend/Makefile =================================================================== RCS file: /cvsroot/pgsql-server/src/backend/Makefile,v retrieving revision 1.92 diff -c -c -r1.92 Makefile *** src/backend/Makefile 7 Jan 2003 15:12:17 -0000 1.92 --- src/backend/Makefile 26 Jan 2003 01:17:32 -0000 *************** *** 132,145 **** endif endif $(MAKE) -C catalog install-data - ifdef HAVE_IPV6 $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample - else - grep -v '^host.*::1.*ffff:ffff:ffff:ffff:ffff:ffff' \ - $(srcdir)/libpq/pg_hba.conf.sample \ - > $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 - $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 $(DESTDIR)$(datadir)/pg_hba.conf.sample - endif $(INSTALL_DATA) $(srcdir)/libpq/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample --- 132,138 ---- *************** *** 191,199 **** rm -f postgres$(X) $(POSTGRES_IMP) \ $(top_srcdir)/src/include/parser/parse.h \ $(top_builddir)/src/include/utils/fmgroids.h - ifndef HAVE_IPV6 - rm -f $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 - endif ifeq ($(PORTNAME), win) rm -f postgres.dll postgres.def libpostgres.a endif --- 184,189 ----
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly