[ADMIN] Trouble with Sequential Regression Test

2001-03-12 Thread Christoph Lange
Hi folks,   despite the fact that postmaster is running, the Sequential Regression Test claims it isn't and thus does not test anything. I don't know (still rookie) whether this has anything to do with the Test-problem, but I can't start postmaster according to the installation guide. The Pa

[ADMIN] Using psql

2001-03-12 Thread Sean Weissensee
Using psql I have had this error appearing in the last 2 days that has not before,   we are using postgres 6.2 on Redhat linux 6.2   NOTICE:  Message from PostgreSQL backend:    The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. 

[ADMIN] Re: cannot create new user in postgres

2001-03-12 Thread mike
as user postgres simply do the following: createuser username that will promt you for a couple of questions, asking if you want that user to beable to make databases and to add users. Mike - Original Message - From: "Anatoly K. Lasareff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[

[ADMIN] Computer with Linux OS not shown on Computers with Windows OS

2001-03-12 Thread Silky Mittal
Dear Sir, Thanks for your precious advice now things have started working but now we are facing other problem. When we give the command "nmblookup -d 2 '*' it shows IP address of some of the computers in the network and not all and also when we check in network neighbourhood of other compute

Re: [ADMIN] Postgres/Postmaster logging and log rotation

2001-03-12 Thread root
Be sure to stop postgres, rotate your log (or move it out of the /var/log directory and then rotate it), and restart postgresql. That will solve your problem. Hopefully you don't need a 24x7 available database as this might take a few seconds for your server to complete. On Wed, 07 Mar 2001, Wi

[ADMIN] disk space usage by postgresql

2001-03-12 Thread Colleen Williams
Hi We are experiencing this scenario - 1. at the point postgresql (postmaster) is stopped and restarted the disk usage is 56% (277336 blocks) 2. after about 2 days the disk usage is 69% (339528 blocks)... after about 1 week it goes up to 100% 3. after stopping and restarting postgresql (postmas

[ADMIN] Strange behavior with timestamps

2001-03-12 Thread Marc Wrubleski
Hi all, I am witnessing something strange with my timestamps here and I am desperately hoping someone can explain or assist. If I set a time using unix timestamp, it is recalled as a different time a week different! The following example is for illustration purposes: pulver=# select version();

Re: [ADMIN] how to reload a function

2001-03-12 Thread Thomas F. O'Connell
> If I modify function A (drop && re_create), then I have to re_create > function B though no change to function B. > > Is there any way (sql stmt) let me re_load function B's defination > without using drop and create?? i have not figured out a way to do anything like this. an additional frust

Re: [ADMIN] Python, Postgres support?

2001-03-12 Thread Rick Robino
There is another (almost fully) DBI compliant Python module, and Z database adapter, here: http://initd.org/Software/psycopg/ I haven't tried it myself, merely passing along the info. Anyone know whether or not someone is working on Python as a server-side function language (PL/Python)? -- Ric

[ADMIN] Postgresql \z grant question

2001-03-12 Thread hicham bouzdad
Hi everyone, and thanks a lot , > PostgreSQL access permissions are not yet as extensive as the full SQL > spec requires. > 'w' includes UPDATE and DELETE; > there is no finer-grained permission available. if i do on (PostgreSQL 7.1beta4 ) : GRANT UPDATE ON tabl TO user; user c

Re: [ADMIN] Using psql

2001-03-12 Thread Stephan Szabo
On Wed, 7 Mar 2001, Sean Weissensee wrote: > Using psql I have had this error appearing in the last 2 days > that has not before, > > we are using postgres 6.2 on Redhat linux 6.2 > > NOTICE: Message from PostgreSQL backend: > The Postmaster has informed me that some other backend died

[ADMIN] Compiling error... plz hlp

2001-03-12 Thread Christian Marschalek
I get the followig error although TK is installed -start make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgaccess' make[2]: Entering directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgtclsh' gcc -I../../include -I../../backe

Re: [ADMIN] Compiling error... plz hlp

2001-03-12 Thread Stefan Huber
Servus Christian! At 22:07 2001-03-12 +0100, Christian Marschalek wrote: >I get the followig error although TK is installed Are you sure, yout TK-includes, libs are available to the compiler? Ever tried to compile a simple Tk program yourself? (I've never written Tk, so I cannot give you a "He

[ADMIN] Use of the LIMIT clause ?

2001-03-12 Thread Richard Bayet
I read on a website dedicated to MySQL, that the limit clause allows someone to restrict the result of a query to a certain domain. Exemple : "select id, title from movie order by id limit 3" -> only the (here, first) 3 lines of the table I did knew about this, but the author goes further about th

Re: [ADMIN] Use of the LIMIT clause ?

2001-03-12 Thread Stephan Szabo
IIRC, the postgres syntax uses limit and offset for what rows to get (ie LIMIT 1 OFFSET 10) On Mon, 12 Mar 2001, Richard Bayet wrote: > I read on a website dedicated to MySQL, that the limit clause allows > someone to restrict the result of a query to a certain domain. > Exemple : "select id, t

Re: [ADMIN] Strange behavior with timestamps

2001-03-12 Thread Tom Lane
Marc Wrubleski <[EMAIL PROTECTED]> writes: > pulver=# update connections set starttime = timestamp 'epoch' + reltime > '984685319'; That calculation does not do what you seem to think it does. (Hint: reltime is not simply a number of seconds.) Try just timestamp(984685319) instead.

[ADMIN] Authentication by password

2001-03-12 Thread Peter Schuller
Hello, I'm sure this has been covered before, but the ML archive search engine is down (?!). After telling postgresql not to trust anyone, but always use password/crypt as the authenticaton method (pg_hdb.conf), I can't seem to get the postmaster to authenticate against the right password. What

Re: [ADMIN] Authentication by password

2001-03-12 Thread Grant
ALTER USER postgres WITH PASSWORD 'yourpassword'; On Mon, 12 Mar 2001, Peter Schuller wrote: > Hello, > > I'm sure this has been covered before, but the ML archive search engine is > down (?!). > > After telling postgresql not to trust anyone, but always use password/crypt > as the authenticat

Re: [ADMIN] Use of the LIMIT clause ?

2001-03-12 Thread Tom Lane
Richard Bayet <[EMAIL PROTECTED]> writes: > I did knew about this, but the author goes further about the "limit > N,P", which allows someone to get only results between the Nth and Pth > lines of the whole result... Is that actually how MySQL interprets two parameters? We treat them as count and

Re: [ADMIN] Computer with Linux OS not shown on Computers with Windows OS

2001-03-12 Thread Dave Millen
If you want to see your linux box in network neighbourhood, you have to run samba on the linux box! See: http://www.samba.org regards, Dave Silky Mittal wrote: > > Dear Sir, > Thanks for your precious advice now things have > started working but now we are facing other problem. > When w

[ADMIN] Re: Postgresql \z grant question

2001-03-12 Thread Alfonso Peniche
I believe the only thing you can do is revoke the INSERT permission (after granting UPDATE), but I don think you can revoke the DELETE permission since is the same flag as UPDATE. hicham bouzdad wrote: > Hi everyone, and thanks a lot , > > > PostgreSQL access permissions are not yet as extensi

[ADMIN] Strange behavior with timestamps cont.

2001-03-12 Thread Marc Wrubleski
Even more strange to me is this one below: pulver=# select date_part('epoch', timestamp 'epoch' + reltime '98529111 seconds'); date_part --- 98701911 (1 row) > > > > > > Subject: Strange behavior with timestamps

[ADMIN] Re: Use of the LIMIT clause ?

2001-03-12 Thread Spy
Tom Lane a écrit : > > Richard Bayet <[EMAIL PROTECTED]> writes: > > I did knew about this, but the author goes further about the "limit > > N,P", which allows someone to get only results between the Nth and Pth > > lines of the whole result... > > Is that actually how MySQL interprets two param

[ADMIN] Denying CREATE TABLE capability

2001-03-12 Thread Michael Minock
Hello all - My users are able to connect to a main database and then create their own databases. However I do not want them to be able to create tables in the main database. But in the main database, some users always create tables, which I have to periodically go in and drop. I have tried to de

[ADMIN] Permissions on Functions

2001-03-12 Thread justin.lipshitz
Hi,   Lets say I had a scenario, where a user A owns a number of tables Now A, only wants to allow access to those tables ( updates/ inserts) via a specific interface that is setup as functions owned by A   How would you give permission to other users to make use of these funtions,  such th

Re: [ADMIN] Python, Postgres support?

2001-03-12 Thread Karel Zak
On Wed, Mar 07, 2001 at 01:27:07PM -0800, Rick Robino wrote: > There is another (almost fully) DBI compliant Python module, and Z database adapter, > here: > > http://initd.org/Software/psycopg/ > > I haven't tried it myself, merely passing along the info. Anyone know whether or not > someone i

Re: [ADMIN] Denying CREATE TABLE capability

2001-03-12 Thread R D
Unfortunately There is no way atleast i do not know of such since you can not REVOKE this from users. I do not know why The developers consider this as not so inportant. This capability was in the todo list for 7.1 but was removed. I would like to see this feature in postgres because I'm tyred dro