Skip site navigation (1) Skip section navigation (2)

Re: Replace function ...

From: Kornelije Rabuzin <krabuzin(at)foi(dot)hr>
To: BenLaKnet <benlaknet(at)icqmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Replace function ...
Date: 2004-05-19 17:31:49
Message-ID: Pine.GSO.4.58.0405191930590.16794@barok.foi.hr (view raw or flat)
Thread:
Lists: pgsql-sql
thanks ....

If I don't find some other solution, I'll do it .....

so, thanks ...

best regards


Kornelije


On Wed, 19 May 2004, BenLaKnet wrote:

> I try to reencode postgresql db ... all is running ... in your shell :
>
> - pg_dump db  -f fileout
>
> - iconv fileout i do not remember parameters but iconv converts the file.
>
> - createdb db -U unicode (for example)
>
> - pgsql db < fileout_converted
>
>
> We change previous year the encoding of this website : www.ape-europe.org
> 'iso' to 'utf8' for problems of eastern countries ...
> all is running ...
>
> maybe you can try ...
>
> Kornelije wrote:
>
> > Hi,
> >
> > I need to write a function which has to replace a character with two
> > or three other characters ....
> >
> > I have some data in the DB and when I retrieve this data, I have
> > sorting problems because I use specific Croatian characters ....
> > I know that the DB is not setup properly, but I cannot change anything
> > now because some data could be lost ....
> >
> > So I need to change specific Croatian characters with some other
> > standard characters in order to sort the data properly ....
> >
> > so, if anybody knows something or has such function, please, let me
> > know ....
> >
> > thanks
> >
> > R.K.
>
>

In response to

pgsql-sql by date

Next:From: Tom LaneDate: 2004-05-19 17:33:19
Subject: Re: Function valid only for one table
Previous:From: Kornelije RabuzinDate: 2004-05-19 17:30:18
Subject: Re: Replace function ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group