pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
grants
3+ messages / 3 participants
[nested] [flat]

* grants
@ 2004-12-03 11:22 Graf László <graf.laszlo@axis.hu>
  2004-12-03 21:41 ` Re: grants Michael Fuhr <mike@fuhr.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Graf László @ 2004-12-03 11:22 UTC (permalink / raw)
  To: pgsql-admin

Hi

In wich system table, like pg_tables, are stored the the grant attributes?
I mean those attributes, what discribe the SELECT, INSERT, etc. rights of a
use (ex. postgres) for a selected table.


-- 
Graf László



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: grants
  2004-12-03 11:22 grants Graf László <graf.laszlo@axis.hu>
@ 2004-12-03 21:41 ` Michael Fuhr <mike@fuhr.org>
  2005-09-05 16:08   ` Re: grants renneyt@yahoo.com <renneyt@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Michael Fuhr @ 2004-12-03 21:41 UTC (permalink / raw)
  To: Graf László <graf.laszlo@axis.hu>; +Cc: pgsql-admin

On Fri, Dec 03, 2004 at 12:22:58PM +0100, Graf László wrote:

> In wich system table, like pg_tables, are stored the the grant attributes?
> I mean those attributes, what discribe the SELECT, INSERT, etc. rights of a
> use (ex. postgres) for a selected table.

What are you trying to do?  There are different ways to get permission
information, some more appropriate than others depending on your needs.
To learn more see the "System Catalogs", "Information Schema", and
"Access Privilege Inquiry Functions" documentation:

http://www.postgresql.org/docs/7.4/static/catalogs.html
http://www.postgresql.org/docs/7.4/static/information-schema.html
http://www.postgresql.org/docs/7.4/static/functions-misc.html

The Information Schema is available in 7.4 and later.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: grants
  2004-12-03 11:22 grants Graf László <graf.laszlo@axis.hu>
  2004-12-03 21:41 ` Re: grants Michael Fuhr <mike@fuhr.org>
@ 2005-09-05 16:08   ` renneyt@yahoo.com <renneyt@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: renneyt@yahoo.com @ 2005-09-05 16:08 UTC (permalink / raw)
  To: pgsql-admin

I ran into a problem while compiling PGSQL  8.0.3. I am on Solaris 10
(Sparc) running GCC 4.0.

The problem is as follows:


gmake[4]: Leaving directory `/opt/sft/postgresql-8.0.3/src/port'
gmake[3]: Leaving directory `/opt/sft/postgresql-8.0.3/src/timezone'
gcc -O3 -pthreads -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
-fno-strict-aliasing -L../../src/port -L/opt/csw/gcc4/lib/
-L/usr/local/lib -L/usr/local/openldap/lib
-L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/ssl/lib 
-L/usr/local/ssl/lib -Wl,-R/usr/local/pgsql/lib  access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o
utils/SUBSYS.o ../../src/timezone/SUBSYS.o  -lpgport_srv -lssl -lcrypto
-lz -lreadline -ltermcap -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm  -o
postgres
Undefined                       first referenced
 symbol                             in file
isinf                               utils/SUBSYS.o
ld: fatal: Symbol referencing errors. No output written to postgres
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/opt/sft/postgresql-8.0.3/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/sft/postgresql-8.0.3/src'



GCC version

Configured with: ../sources/gcc-4.0.0/configure --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-shared --enable-multilib --enable-nls --with-included-gettext
--with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
--with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.0

Thanks

-- 
<><



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 9/2/2005




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-09-05 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 11:22 grants Graf László <graf.laszlo@axis.hu>
2004-12-03 21:41 ` Michael Fuhr <mike@fuhr.org>
2005-09-05 16:08   ` renneyt@yahoo.com <renneyt@yahoo.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox