From: | Anjan Borthakur <anjan(at)bombay(dot)retortsoft(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | postgres error |
Date: | 2000-02-29 10:50:43 |
Message-ID: | Pine.LNX.4.10.10002291607520.30364-100000@mailserver.bombay.retortsoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
hi,
i am running php3,apache1.3.9,postgresql6.4 on a redhat 6.0 m/c.
i have written php scripts to connect to a postgres database to
access data on aweb environment.
when i connect to a table i am not supposed to , i get a postgresql
error saying operation not allowed.
1)how can i trap this error,so that i can write codes to return some
of my own error message rather than the back end one ?
2)how can i get grant /revoke permissions for a user through a php
script(for that matter any cgi script)?
\z doesn't seem to give anything.
any help regarding this will be highly appreciated.
-anjan
From | Date | Subject | |
---|---|---|---|
Next Message | Willy De la Court | 2000-02-29 20:58:39 | Serious problem with the odbc driver and VFP |
Previous Message | Rob Brown-Bayliss | 2000-02-29 09:45:54 | useing strings for cursors with libpq |