pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Encode
3+ messages / 3 participants
[nested] [flat]

* Encode
@ 2007-03-19 12:21  Ezequias R. da Rocha <ezequias@fastcon.com.br>
  0 siblings, 2 replies; 3+ messages in thread

From: Ezequias R. da Rocha @ 2007-03-19 12:21 UTC (permalink / raw)
  To: pgsql-sql

Hi list,

It is possible to change the Encode of one database while it is on ?

Sincerely
Ezequias



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Encode
@ 2007-03-19 12:39  Shoaib Mir <shoaibmir@gmail.com>
  parent: Ezequias R. da Rocha <ezequias@fastcon.com.br>
  1 sibling, 0 replies; 3+ messages in thread

From: Shoaib Mir @ 2007-03-19 12:39 UTC (permalink / raw)
  To: Ezequias R. da Rocha <ezequias@fastcon.com.br>; +Cc: pgsql-sql

For that you will need to drop and re-create it with a different encoding

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 3/19/07, Ezequias R. da Rocha <ezequias@fastcon.com.br> wrote:
>
> Hi list,
>
> It is possible to change the Encode of one database while it is on ?
>
> Sincerely
> Ezequias
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Encode
@ 2007-03-19 18:35  Jure Kodzoman <jure@plsavez.hr>
  parent: Ezequias R. da Rocha <ezequias@fastcon.com.br>
  1 sibling, 0 replies; 3+ messages in thread

From: Jure Kodzoman @ 2007-03-19 18:35 UTC (permalink / raw)
  To: Ezequias R. da Rocha <ezequias@fastcon.com.br>; +Cc: pgsql-sql

On Mon, 2007-03-19 at 09:21 -0300, Ezequias R. da Rocha wrote:
> Hi list,
> 
> It is possible to change the Encode of one database while it is on ?
> 
> Sincerely
> Ezequias

No it isn't. You would have to drop and recreate an entire DB for that.

But it's possible to change encoding of your client. It might be of help
to you, depending on why you want to change encoding. 

SET CLIENT_ENCODING TO 'LATIN2';

where you would change latin2 with encoding you wish to use.

You can find more info on this topic on
http://www.postgresql.org/docs/8.2/static/multibyte.html

Best regards,

Jure Kodzoman
Ljubljana




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-03-19 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-19 12:21 Encode Ezequias R. da Rocha <ezequias@fastcon.com.br>
2007-03-19 12:39 ` Shoaib Mir <shoaibmir@gmail.com>
2007-03-19 18:35 ` Jure Kodzoman <jure@plsavez.hr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox