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 15:31:53 -0400
Message-ID: <983597.1689967913@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKXe9UC2UwOUOVgZZcG2Wdt5uTJwsPPePpDEWH1DggADTYtddA@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>
Les <nagylzs@gmail.com> writes:
> I found out that "public.pg" is not a valid configuration indeed.
Quite so (and even more so given that the actual setting seems to be
"public.pg <http://public.pg>";).
> But I still don't know how it affects a query that does not use any
> tsvector or tsquery.
The error report shows that the failure is happening while starting
a parallel worker, so the only thing required of your query is that
it be big enough to tempt the planner to use parallelism.
However, the parallel worker should just be absorbing the same
configuration settings your main session is using. So what remains
to be explained is why you aren't seeing the same complaint when
starting a fresh session. It might be useful to look at the
output of
show default_text_search_config;
and
select * from pg_file_settings where name = 'default_text_search_config';
regards, tom lane
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: <983597.1689967913@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>
* 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