Re: Speeding up loops in pl/pgsql function
От
Alex Hunsaker
Тема
Re: Speeding up loops in pl/pgsql function
Дата
Msg-id
BANLkTin52zF59YU-CO7NQifjAw3WsQWFSg@mail.gmail.com
Ответ на
Re: Speeding up loops in pl/pgsql function (Reuven M. Lerner)
Список
Дерево обсуждения
Re: Speeding up loops in pl/pgsql function Santhakumaran <santhkn@yahoo.com>
On Wed, May 25, 2011 at 12:45, Reuven M. Lerner wrote: > Hi, Alex. You wrote: >> I think select E'\XXX' is what you are looking for (per the fine >> manual: >> http://www.postgresql.org/docs/current/static/datatype-binary.html) > > I didn't think that I could (easily) build a string like that from digits in > a variable or a column, but I'll poke around and see if it can work. Well, if you build '\XXX' you can call escape(..., 'escape') on it like I did with the regex above.
В списке pgsql-performance по дате отправления