X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 95712D86CD for ; Fri, 9 Sep 2005 02:06:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39005-07 for ; Fri, 9 Sep 2005 05:06:32 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 93565D8672 for ; Fri, 9 Sep 2005 02:06:30 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKxQS-1EDb5p1Jw7-000653; Fri, 09 Sep 2005 07:06:29 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1EDb7Q-0002T9-00 for pgsql-sql@postgresql.org; Fri, 09 Sep 2005 07:08:08 +0200 Date: Fri, 9 Sep 2005 07:08:08 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: how to replace Message-ID: <20050909050808.GC9240@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <1EDTtJ-1Zs2Eq0@fwd35.aul.t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1EDTtJ-1Zs2Eq0@fwd35.aul.t-online.de> X-DEST: 208 X-MSMail-Priority: High X-Message-Flag: Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.292 required=5 tests=[AWL=0.025, MISSING_MIMEOLE=0, X_MSMAIL_PRIORITY_HIGH=0.267] X-Spam-Level: X-Archive-Number: 200509/100 X-Sequence-Number: 22647 am 08.09.2005, um 23:25:05 +0200 mailte "Michael Höller" folgendes: > Hello, > > I initially thought this is simple.. I want to relpace a character to > nothing. Eg. relace "B" to "" -> ABCD to ACD. In the new version 8.1 there are a regex_replace() - function. A other solution: write your own function with plperl. Regards, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47212, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===