From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 4 Feb 2003 10:45:05 +0200 From: Maxim Tyurin To: community@altlinux.ru Subject: Re: [Comm] Re: PostgreSQL string functions Message-ID: <20030204084505.GA30375@mrkooll.tdr.pibhe.com> Mail-Followup-To: community@altlinux.ru References: <20030204081253.GA12718@lrn.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030204081253.GA12718@lrn.ru> User-Agent: Mutt/1.4i Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: > >> Собственно, вопрос: > >> Есть ли в postgres такая функция strstr, substr или им подобные, > >> чтобы сделать сразу select substr(strstr(login,'\'),1) as login ? > >> Или можно решить эту задачу другим способом? Например напиши функцию на plperl (на perl уж строками как угодно крутить можно) -- With Best Regards, Maxim Tyurin mailto: MrKooll@mail.ru JID: MrKooll@jabber.pibhe.com