Re: [ADMIN] How to identify connected Users?

2000-12-01 Thread Michel Decima
>Jens Hartwig writes: > >> is there any way to identify users which are currently connected to the >> database? Does perhaps even exist a method to notify this users (e.g. to >> close the connection)? > >ps ax | grep postgres > >is the best way to go. This command tells me that several backends

Re: [ADMIN] How to identify connected Users?

2000-12-01 Thread Michel Decima
>is there any way to identify users which are currently connected to the >database? Does perhaps even exist a method to notify this users (e.g. to >close the connection)? I don't know if this feature exists, but it will be very useful for me, too...

[ADMIN] possible bug in CREATE FUNCTION

2000-10-26 Thread Michel Decima
hello everybody, I was trying playing with the CREATE FUNCTION statement in psql when I made a copy/paste mistake : the function body was empty. The error message was strange: guanabara:~> psql Password: Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distrib

Re: [ADMIN] Automation/scheduling of Backup stratetgy

2000-10-19 Thread Michel Decima
>Is it posible to schedule / automate a backup task and functions to execute >at a pre-defined time at a pre-defined recurrence rate? yes, using the cron daemon and the commands pg_dump or pg_dumpall. The following entry in the postgres user crontab will backup the database every day at 03:01 A

Re: [ADMIN] pltcl, linker and statistical functions

2000-10-18 Thread Michel Decima
>ERROR: Load of file /usr/local/pgsql/lib/pltcl.so failed: ld.so.1: /usr/ >local/pgsql/bin/postmaster: fatal: relocation error: file /usr/local/pgs >ql/lib/pltcl.so: symbol CurrentMemoryContext: referenced symbol not found > > Is there a way to solve this dynamic link problem ? ok, sorry for th

[ADMIN] pltcl, linker and statistical functions

2000-10-17 Thread Michel Decima
Hello, I'm a beginner postgresql admin and I have problems with pltcl on a solaris box. Some users need statistical function (standard deviation, variance) and I know that this feature is not (yet) implemented. I found a piece of Tcl code in the mailing list archive at http://www.