pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_enconding
2+ messages / 2 participants
[nested] [flat]
* pg_enconding
@ 2005-04-18 16:34 Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br>
2005-04-18 17:34 ` Re: pg_enconding Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Dextra - Gustavo Bartz Guedes @ 2005-04-18 16:34 UTC (permalink / raw)
To: pgsql-admin
The version 8.0 has not the pg_encoding tool, so how can I find a
encoding by its number on pg_database.enconding?
Thanks.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_enconding
2005-04-18 16:34 pg_enconding Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br>
@ 2005-04-18 17:34 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2005-04-18 17:34 UTC (permalink / raw)
To: Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br>; +Cc: pgsql-admin
Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br> writes:
> The version 8.0 has not the pg_encoding tool, so how can I find a
> encoding by its number on pg_database.enconding?
See pg_char_to_encoding() and pg_encoding_to_char(). For instance
select datname,pg_encoding_to_char(encoding) from pg_database;
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-04-18 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 16:34 pg_enconding Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br>
2005-04-18 17:34 ` Tom Lane <tgl@sss.pgh.pa.us>
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