Re: IPv6 patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: IPv6 patch
Дата
Msg-id 200301260121.h0Q1L5f19215@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: IPv6 patch  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: IPv6 patch  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
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   peter_e@gmx.net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (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 ----

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: copying perms to another user
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Can we revisit the thought of PostgreSQL 7.2.4?