Dextra - Gustavo Bartz Guedes <gustavo-bartz@xxxxxxxxxxxxx> 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