AW: AW: German "umlaut insensitive" query

From: <Jakob(dot)Witczak(at)dlr(dot)de>
To: <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>, <jonathan(dot)katz(at)excoventures(dot)com>
Subject: AW: AW: German "umlaut insensitive" query
Date: 2019-09-24 08:38:29
Message-ID: 242EFA74EBC4CE45AD34310EEB2145E70E49A7AA@DLDEFFMIMP03EXC.intra.dlr.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Super, thank you so much for the tip.

I still have a little problem where I don't get far ;-)

I constantly get an error message when I give the SET a value.
Siehe unten.

ERROR: ERROR: invalid value for parameter "idle_in_transaction_session_timeout": "_timeout" CONTEXT: SQL statement "SET idle_in_transaction_session_timeout TO _timeout" PL/pgSQL function set_transfer(integer,character varying,character varying) Line 4 at SET SQL state: 22023SELECT * FROM

Call function:
set_transfer(87,'users','5000');

Function:

CREATE OR REPLACE FUNCTION public.set_transfer(_id integer, _tablename character varying, _timeout character varying)
RETURNS SETOF users
LANGUAGE 'plpgsql'AS $BODY$
BEGIN
SET idle_in_transaction_session_timeout TO _timeout;
......
END

I've tried almost everything. :-(

Best Regards
Jakob

-----Ursprüngliche Nachricht-----
Von: Peter Eisentraut [mailto:peter(dot)eisentraut(at)2ndquadrant(dot)com]
Gesendet: Dienstag, 24. September 2019 09:05
An: Witczak, Jakob; jonathan(dot)katz(at)excoventures(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Betreff: Re: AW: German "umlaut insensitive" query

On 2019-09-23 07:57, Jakob(dot)Witczak(at)dlr(dot)de wrote:
> Thanks for the quick answer. I am looking forward to the new PostgresSQL
> version. Thanks

In the meantime, the unaccent contrib module can also help.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Voillequin, Jean-Marc 2019-09-24 10:10:08 RE: AW: German "umlaut insensitive" query
Previous Message Peter Eisentraut 2019-09-24 07:05:16 Re: AW: German "umlaut insensitive" query