Re: [ADMIN] COPY-ing ASCII file into UTF-8 database

2009-04-05 Thread Tommy Gildseth
1-9 > SET CLIENT_ENCODING='LATIN'; -- Where you substitute for the correct number > \copy -- Tommy Gildseth -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Version info in catalog

2009-03-10 Thread Tommy Gildseth
Péter Kovács wrote: Hi, Which catalog view holds the version of the back-end? SELECT setting FROM pg_settings WHERE name = 'server_version'; -- Tommy Gildseth -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.post

Re: [ADMIN] moving users/roles from one server to another?

2008-12-10 Thread Tommy Gildseth
he users (with their passwords) and the roles? pg_dumpall -g If need be, you can edit the resulting SQL to only move over the bits you need. -- Tommy Gildseth DBA, Gruppe for databasedrift Universitetet i Oslo, USIT m: +47 45 86 38 50 t: +47 22 85 29 39 -- Sent via pgsql-admin mailing list (pgsql-

Re: [ADMIN] Disk Space issue

2008-06-11 Thread Tommy Gildseth
. Once you've identified the culprit, you could use reindex or cluster to reclaim the dead space. Note that reindex and cluster require fairly extensive locks, so not so good to use on a busy database during working hours. -- Tommy Gildseth -- Sent via pgsql-admin mailing list (pgsql-

Re: [ADMIN] Problem:- createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-12 Thread Tommy Gildseth
rder to make it possible to run multiple versions of postgreSQL on the same machine. -- Tommy Gildseth -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] what is the origin of postgreSQL time

2008-03-31 Thread Tommy Gildseth
How about database specific config settings? SELECT datname, datconfig FROM pg_database; -- Tommy Gildseth Julius Tuskenis wrote: Yes, it is undefined (#timezone = unknown) just like in other servers. Julius Vishal Arora rašė: Have you checked timezone parameter in postgresql.conf file

Re: [ADMIN] Is there a way to kill a connection from the pg_stat_activitly list?

2007-10-15 Thread Tommy Gildseth
ctive/functions-admin.html -- Tommy Gildseth DBA, Gruppe for databasedrift Universitetet i Oslo, USIT m: +47 45 86 38 50 t: +47 22 85 29 39 ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [ADMIN] Regarding Postgres Monitoring

2007-07-19 Thread Tommy Gildseth
asily write custom plugins to cover your specific needs. -- Tommy Gildseth ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [ADMIN] Load DB - Conversion from 8.1.4 to 8.2.4

2007-06-24 Thread Tommy Gildseth
5678 is PostgreSQL 8.2.4. Should be fine, as long as you ensure that the pg_dump you use, is the one from your 8.2.4 installation, and not the 8.1.4 version. -- Tommy Gildseth DBA, Gruppe for databasedrift Universitetet i Oslo, USIT m: +47 45 86 38 50 t: +47 22 85 29 39