Re: [GENERAL] function - Mailing list pgsql-sql

From Ian Turner
Subject Re: [GENERAL] function
Date
Msg-id Pine.LNX.4.21.0008301849430.955-100000@crafter.house
Whole thread Raw
In response to function  ("Normunds" <normunds@mt.lv>)
List pgsql-sql
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> how can I write function which takes text from one field, replaces
> some characters and puts it in other field? I have array with old and
> new values.

Probably best to do this as an embedded perl sql function. Then it is
about 3 lines.

Ian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5rbnTfn9ub9ZE1xoRAh7uAKCAxqAM9Wo09g6qntF6qJTtp5u+KACgsO9d
VvH5BBpn4gIpdrHFAw8x6Jo=
=zH55
-----END PGP SIGNATURE-----


pgsql-sql by date:

Previous
From: nicolas.michaud@philips.com
Date:
Subject: Protection of tables by group and not by users
Next
From: "Igor N. Avtaev"
Date:
Subject: Re: [ADMIN] 7.0.2 questions on encoding and compilation