Re: [ADMIN] password accessibility

2004-04-13 Thread Peter Eisentraut
Greg Steffensen wrote: I'd like to construct a view containing the usernames, passwords, etc in jabber's required format, but system catalog information doesn't seem to be accessible to views. That is not correct. ---(end of broadcast)--- TIP

[ADMIN] varchar to text

2004-04-13 Thread Stefan Holzheu
I'd like to alter all columns from type varchar to text. Could I do this by: UPDATE pg_attribute SET atttypid = 25, atttypmod=-1 where attrelid =(select oid from pg_class where relname='table_name') and atttypid=1043; I just tried on a test database. It worked fine with one exception: Views

[ADMIN] Real time replication of PG DBs accross two servers - any experiences?

2004-04-13 Thread Bradley Kieser
Hi All, I desperately need to set up a real time replication of several databases (for failover) between two servers. Last time I looked at the PG replication it wasn't yet production level. I wonder if anyone on this list is doing this successfully and if you won't mind sharing your

[ADMIN] Maximum Number Tables

2004-04-13 Thread Ashvinder Singh
Hi All, Ihave a query. What is the maximum number of tables I can have in a PGSql Database, without affecting performance? Thanks in advance. Regards, Ashvinder

[ADMIN] Postgresql Backup Dump

2004-04-13 Thread gajanan
Hi, In my application I need to useold database present on postgersql at client site. For that I have created dump using pg_dump -o db_name | gzip db_dump command at the client site and then downloaded the dump on local server. But when I am trying to restore, it only restore the empty

[ADMIN] Postgres Admin - Export Database

2004-04-13 Thread JinNet Picker
Hi, I am trying to take Database backup. I use this command. # ./pg_dump -U username -cif filename.sql dbname Its exporting, but in the Log, its giving like LOG: out of file descriptors: Too many open files; release and retry Can anybody tell me what is this? And what i have to do clear this

[ADMIN] log_min_cost_statement

2004-04-13 Thread Nichlas Löfdahl
Hello! Would it be possible to have an option log_min_cost_statement, similar to log_min_duration_statement except that it logs all statement that has an minimum cost estimated by the planner? I think it would be easier to find unoptimized queries that way. Just a thought! /Nichlas

Re: [ADMIN] varchar to text

2004-04-13 Thread scott.marlowe
On Tue, 13 Apr 2004, Stefan Holzheu wrote: I'd like to alter all columns from type varchar to text. Could I do this by: UPDATE pg_attribute SET atttypid = 25, atttypmod=-1 where attrelid =(select oid from pg_class where relname='table_name') and atttypid=1043; I just tried on a test

Re: [ADMIN] Postgres Admin - Export Database

2004-04-13 Thread Greg Spiegelberg
JinNet Picker wrote: Hi, I am trying to take Database backup. I use this command. # ./pg_dump -U username -cif filename.sql dbname Its exporting, but in the Log, its giving like LOG: out of file descriptors: Too many open files; release and retry Can anybody tell me what is this? And what i

Re: [ADMIN] Postgres Admin - Export Database

2004-04-13 Thread Tom Lane
JinNet Picker [EMAIL PROTECTED] writes: LOG: out of file descriptors: Too many open files; release and retry Can anybody tell me what is this? And what i have to do clear this out?? You need to either increase your kernel's limit on the number of simultaneously open files, or reduce

Re: [ADMIN] log_min_cost_statement

2004-04-13 Thread Bruce Momjian
Nichlas Löfdahl wrote: Hello! Would it be possible to have an option log_min_cost_statement, similar to log_min_duration_statement except that it logs all statement that has an minimum cost estimated by the planner? I think it would be easier to find unoptimized queries that way. Uh, yea,

Re: [ADMIN] log_min_cost_statement

2004-04-13 Thread Peter Eisentraut
Nichlas Löfdahl wrote: Would it be possible to have an option log_min_cost_statement, similar to log_min_duration_statement except that it logs all statement that has an minimum cost estimated by the planner? I think it would be easier to find unoptimized queries that way. If you believe that

Re: [ADMIN] log_min_cost_statement

2004-04-13 Thread Tom Lane
Nichlas =?iso-8859-1?Q?L=F6fdahl?= [EMAIL PROTECTED] writes: Would it be possible to have an option log_min_cost_statement, similar to log_min_duration_statement except that it logs all statement that has an minimum cost estimated by the planner? I think it would be easier to find unoptimized

Re: [ADMIN] Real time replication of PG DBs accross two servers - any experiences?

2004-04-13 Thread Peter Eisentraut
Bradley Kieser wrote: I desperately need to set up a real time replication of several databases (for failover) between two servers. Last time I looked at the PG replication it wasn't yet production level. I wonder if anyone on this list is doing this successfully and if you won't mind sharing

[ADMIN] tcl-devel build dependencies for 7.4.2

2004-04-13 Thread Donald Fraser
I am trying to build Postgres 7.4.2 from the source rpm on Red Hat Linux 7.1 2.96-98 I get the following error message: [EMAIL PROTECTED] usr]# rpmbuild --rebuild postgresql-7.4.2-1PGDG.src.rpm Installing postgresql-7.4.2-1PGDG.src.rpm error: failed build dependencies: tcl-devel is needed

Re: [ADMIN] tcl-devel build dependencies for 7.4.2

2004-04-13 Thread Tom Lane
Donald Fraser [EMAIL PROTECTED] writes: I am trying to build Postgres 7.4.2 from the source rpm on Red Hat Linux 7.1 2.96-98 error: failed build dependencies: tcl-devel is needed by postgresql-7.4.2-1PGDG This dependency is bogus; it doesn't apply to RHL 7.1. The easiest solution is

Re: [ADMIN] tcl-devel build dependencies for 7.4.2

2004-04-13 Thread Donald Fraser
- Original Message - I am trying to build Postgres 7.4.2 from the source rpm on Red Hat Linux 7.1 2.96-98 error: failed build dependencies: tcl-devel is needed by postgresql-7.4.2-1PGDG This dependency is bogus; it doesn't apply to RHL 7.1. The easiest solution is to

Re: [ADMIN] Real time replication of PG DBs accross two servers - any experiences?

2004-04-13 Thread Christopher Browne
A long time ago, in a galaxy far, far away, [EMAIL PROTECTED] (Peter Eisentraut) wrote: Bradley Kieser wrote: I desperately need to set up a real time replication of several databases (for failover) between two servers. Last time I looked at the PG replication it wasn't yet production level. I

Re: [ADMIN] tcl-devel build dependencies for 7.4.2

2004-04-13 Thread Tom Lane
Donald Fraser [EMAIL PROTECTED] writes: Thanks - that got things going for me. Unfortunately it fails to complete the configure script due to the following messages [ python problems... ] Hm, python is outside my sphere of expertise :-( You're asking on quite the wrong list though. Try