pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Les <nagylzs@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: invalid value for parameter "default_text_search_config": "public.pg"
Date: Fri, 21 Jul 2023 17:09:15 -0400
Message-ID: <993880.1689973755@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKXe9UAJEc5viTV7FDtayQ6rH6bKFZnJCQa_muQh1-UjVyOf6w@mail.gmail.com>
References: <CAKXe9UB0WgMPwXkR1MJA26srbFccV2TtRKMWVU+rkNthp1zTdA@mail.gmail.com>
	<61b544bf-32e1-2be8-eedc-4e2167fe7530@aklaver.com>
	<CAKXe9UDz1qcEJN1BTTqM6TPQT63q=WTM_zw29eqAccGkSfRPxQ@mail.gmail.com>
	<CAKXe9UC2UwOUOVgZZcG2Wdt5uTJwsPPePpDEWH1DggADTYtddA@mail.gmail.com>
	<983597.1689967913@sss.pgh.pa.us>
	<CAKXe9UAJEc5viTV7FDtayQ6rH6bKFZnJCQa_muQh1-UjVyOf6w@mail.gmail.com>

Les <nagylzs@gmail.com> writes:
> mydatabase=# select * from pg_file_settings where name =
> 'default_text_search_config';
>                  sourcefile                 | sourceline | seqno |
>    name                    |  setting  | applied |            error
> --------------------------------------------+------------+-------+----------------------------+-----------+---------+------------------------------
>  /opt/postgresql/data/conf.d/06_locale.conf |         17 |    24 |
> default_text_search_config | public.pg | f       | setting could not be applied
> (1 row)

> I'm not sure what applied="public.pg", error="setting could not be applied"
> means.

No, "applied" is "f" (false), meaning that the setting is not actually usable.
I'm a little surprised that it seems to have gotten into your live session
anyway, although perhaps that's because the postmaster can't really
validate it at startup.

> I can change it in the config file, no problem. I just would like to
> know if this is a simple configuration error, or a software installation
> error. (Is public.pg a built-in config that should always exist?)

"public.pg" is certainly not a standard (as in built-in) text search
configuration name.  Maybe that value was installed by some bit of
software that failed to install the configuration to go with it,
or only put the configuration into one database not everywhere in
your installation?

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <993880.1689973755@sss.pgh.pa.us>
Permalink:  ../993880.1689973755@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/993880.1689973755@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nagylzs@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: invalid value for parameter "default_text_search_config": "public.pg"
  In-Reply-To: <993880.1689973755@sss.pgh.pa.us>
  References: <CAKXe9UB0WgMPwXkR1MJA26srbFccV2TtRKMWVU+rkNthp1zTdA@mail.gmail.com> <61b544bf-32e1-2be8-eedc-4e2167fe7530@aklaver.com> <CAKXe9UDz1qcEJN1BTTqM6TPQT63q=WTM_zw29eqAccGkSfRPxQ@mail.gmail.com> <CAKXe9UC2UwOUOVgZZcG2Wdt5uTJwsPPePpDEWH1DggADTYtddA@mail.gmail.com> <983597.1689967913@sss.pgh.pa.us> <CAKXe9UAJEc5viTV7FDtayQ6rH6bKFZnJCQa_muQh1-UjVyOf6w@mail.gmail.com> <993880.1689973755@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox