[ADMIN] Row Lock

2007-11-22 Thread PostgreSQL
I'm having a problem with some row locks where one user does the lock and another user try to do the same, but of course, the second one will be waiting the first user unlock it. I would like to know if there is a way to discover if that row is locked before I try to do the lock. I have been

[ADMIN] Queriy results erratic on Linux

2008-02-08 Thread PostgreSql
: ERROR: relation "sites" does not exist in Any idea what might cause the problem? The server configuration: PHP Version 5.0.4 PostgreSQL 8.1.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Thanks

Re: [ADMIN] PgAccess on OS X--was "tcl wish--simple configure

2001-10-18 Thread postgresql
Russ, are you using the 8.4a version. I got this from ADC news. --- Apple is pleased to announce a native port of TK version 8.4a4 for Mac OS X10.1. TK is a rapid application GUI toolkit used by Tcl, Perl, and Python. The TK release allows script developers to run existing GUI applic

Re: [ADMIN] Permission Denied When i am Trying to take Backup

2001-10-12 Thread postgresql
Could someone create a post that shows who(user) should own what. I have always let postgres own the pgsql directory and I see that it is recomended that root own it. Thanks, Ted -Original Message- From: Peter Eisentraut <[EMAIL PROTECTED]> To: Stefan Huber <[EMAIL PROTECTED]> Date

Re: [ADMIN] Database access error after upgrade 7.1.2 -> 7.1.3

2001-10-10 Thread postgresql
What happens when you update from your data dump (pg_dumpall) that you do to backup your data? You did do a pg_dumpall before you did the update? I don't think it is required to upgrade from 7.1.2 to 7.1.3. What happens when you run version 7.1.2 and access the data? /home2/pgsql /home2/pgsql

Re: [ADMIN] seq scan on indexed column

2002-03-14 Thread postgresql
(at least for int8) this changes the behaviour wrt index usage -- most probably due to automatic typecasting in the postgresql SQL parser. Hope this helps... Tycho -- Tycho Fruru [EMAIL PROTECTED] Users' impressions of different operating systems, expressed as em

Re: [ADMIN] connections

2002-04-05 Thread postgresql
On Fri, 5 Apr 2002, jaya wrote: > Hi, The documentation on MAX_CONNECTIONS mentions default of 32 > connections and a compiled in hard upper limit of 1024 connections. It > also mentions that it can be altered when compiling the server. > > Does this mean that the upper limit can be increased to

[ADMIN] "too many clients" and no cure

2004-12-01 Thread postgresql
Hi, I experience some trouble with my PG server. I get the error message "too many clients". Ok, so I checked the manual and adjusted the max_connections and shared_buffers, but still the server denies access, if there are about 100 connections. I just recently increased the shared buffers from 10

Re: [ADMIN] "too many clients" and no cure

2004-12-01 Thread postgresql
> It sounds like you forgot to restart the postmaster after changing > postgresql.conf. This is one of the parameters that is frozen at server > start ... No, I did restart the postmaster. Actually more than once. I do not have to restart the server after changing kernel parameters with sysctl, d

Re: [ADMIN] "too many clients" and no cure

2004-12-01 Thread postgresql
> In that case, maybe you edited the wrong copy of postgresql.conf? > Try checking "SHOW max_connections" to verify what the postmaster > thinks the value is. Hmm, it said it still had 100. Even though the postgresql.conf stayed unchanged, after yet another restart it works. Funny. > I don't thin

[ADMIN] 7.2.x on osx

2002-10-18 Thread postgresql
I am able to compile and install 7.3(b1 and b2) on osx 10.2.1 without problem. However, I can not get 7.2.x to compile. Is there a fix? Ted ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-n

[ADMIN] Advice on multi-machine high-reliability setup?

2003-09-04 Thread postgresql
Hi, I've done some work with databases, but nothing extreme. I just got assigned the setting up of what I'd call a "high-reliability" site, as opposed to "high-availability" -- which I'd like too, of course :-) I've got some ideas on how to acheive my goal, but I fear I'm not quite up-to-date on

[ADMIN] SELECT COUNT(*)... returns 0 ROWS

2003-10-31 Thread PostgreSQL
I have instaled Postgres 7.3.4 on RH 9, if I excecute: select count(*) from cj_tranh; count --- 0 (1 row) Why the result us CERO? the table have 1.400.000 rows! What is wrong? Anybody help please. ---(end of broadcast)--- TIP 2: you can

Re: [ADMIN] SELECT COUNT(*)... returns 0 ROWS

2003-10-31 Thread PostgreSQL
Thank to all I was in the WRONG database. Sorry, and thanks! -Original Message- From: Tom Lane <[EMAIL PROTECTED]> To: Jeff <[EMAIL PROTECTED]> Cc: "PostgreSQL" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Date: Fri, 31 Oct 2003 16:27:31 -0500 Subject: Re: [ADMIN

[ADMIN] UTF8 characters

2006-07-21 Thread PostgreSQL Admin
I had my database set to SQL_ASCII and switched to UTF8, but now I notice that I must add a slash for periods/dots ( \. vs . ) to insert into varchar. Is this normal? Thanks, J ---(end of broadcast)--- TIP 5: don't forget to increase your free spa

[ADMIN] pgmemcache

2007-07-18 Thread PostgreSQL Admin
As anyone used pgmemcache? I would like to look more into a but I'm having problems installing the sql. I'm on OS X 10.4 and the sql there are lines causing errors: (e.g. AS '$libdir/pgmemcache', 'memcache_server_add' LANGUAGE 'C' STRICT;) thanks for any input and also will version 1.2 come

Re: [ADMIN] deinstallation - reinstallation on Mac OS 10.4

2007-07-24 Thread PostgreSQL Admin
run this in the command line locate postmaster.pid or find / -name "postmaster.pid" -print that should locate any postmaster files and then remove whatever looks like the postmaster.pif file ---(end of broadcast)--- TIP 2: Don't 'kill -9' the po

Re: [ADMIN] deinstallation - reinstallation on Mac OS 10.4

2007-07-26 Thread PostgreSQL Admin
I hate to sound like a --- but did you read the README on starting the server? You start the server by using the postmaster command: /path/to/postmaster -D /path/to/data look at the postgresql manual - it's all there. J ---(end of broa

Re: [ADMIN] how to create a limited user

2008-01-22 Thread PostgreSQL Admin
Did you even look for the information on postgresql.org? http://www.postgresql.org/docs/8.2/interactive/sql-createuser.html ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

[ADMIN] Unclosed connections

2008-01-25 Thread PostgreSQL Admin
We are using this bad piece of the software that does not close connections to the postgres server. Is there some setting for closing dead connections? And not TCP/IP keep alive does not work. ---(end of broadcast)--- TIP 6: explain analyze is yo

[ADMIN] Where's the list archived?

1998-08-13 Thread PostgreSQL Account
Where is the list archived? I did not see a ling to an archive on the postgreSQL home page. I would like to have a look there before bothering y'all with my questions. TIA Sincerely, Jimmie F

[ADMIN] Problems compiling postgresql-6.4.2 for Sparc-Linux

1999-03-22 Thread PostgreSQL Account
gcc -I../../../include -I../../../backend -O2 -Wall -Wmissing-prototypes -I../.. -c single.c -o single.o ld -r -o SUBSYS.o lmgr.o lock.o multi.o proc.o single.o make[3]: Leaving directory `/u/u7/p/postgres/postgresql-6.4.2/src/backend/storage/lmgr' make[3]: Entering directory `/u/u7/p/post

[ADMIN] Compilation errors under Sparc-Linux SOLVED

1999-04-02 Thread PostgreSQL Account
Here is what I had to do to get this to compile on my Sun running Red Hat 4.1 Sparc-Linux: in the file src/backend/storage/file/fd.c: #ifndef HAVE_SYSCONF no_files = (long) NOFILE; #else /* no_files = sysconf(_SC_OPEN_MAX); */ no_

Re: [ADMIN] Triggers on postgres

2000-02-17 Thread PostgreSQL Server
hello!! If you already have created the triggers functions, the correct description of this is in the file: /postgres/postgresql-6.4.2/contrib/spi/REAME Depending on the type of trigger or integrity to applY , you must create functions only on the administrator account

[ADMIN] Re: Graphics GUI for PostgreSQL

2001-03-31 Thread PostgreSQL newbie
Or one can use webmin to manage. But I haven't figured out how. The problem is when I enter PostgreSQL server, it rejects me and says "Webmin needs to know your PostgreSQL administration login and password in order to manage your database." Does anyone know how to se

[ADMIN] Mixing an SSD and Spinning drive for best performance

2013-01-04 Thread postgresql . org
Hello- I have a large Postgres database on Ubuntu 12 (+100GB). I have an old, SATA-based, spinning drive and a new SSD drive. I mainly do data analysis on Postgres (big, ugly select statements). I see a few options: 1. SSD for data and OS. Spinning for temp space. 2. SSD for data. Spinning

[ADMIN] Proposal for restoring a dump into a database with a different owner

2008-05-10 Thread postgresql . 20 . j_random_hacker
Hi, I have the same problem as Andreas Haumer did in this thread: http://archives.postgresql.org/pgsql-admin/2008-01/msg00128.php -- I want to be able to easily (i.e. programmatically) copy a database from one place to another, changing the owners of all contained objects in the process. While I

[ADMIN] Problems with upgrading 6.3.1 to 6.4

1998-12-04 Thread PostgreSQL root user
Hello! I've got a problem with converting my old database from version 6.3.1 to 6.4. I tried pg_dumpall, but in the 6.4 psql cannot import it. It crashes with error. Maybe someone knows any other conversion utility? I've got a big database (pg_dumpall result is about 50MB), I am running linux 2.0.