[SQL] show privileges

2006-11-06 Thread Rares Vernica

Hi,

How can I view the privileges that an user or a role has?

Or what is the equivalent of "show privileges" from MySQL?

Thanks,
Ray


---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[SQL] PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL

2006-10-20 Thread Rares Vernica

Hi,

I tried the code from "Calling Conventions Version 1 for C-Language 
Functions"


I had to add this in order to make it compile:
/* 16-byte structure, passed by reference */
typedef struct
{
   double  x, y;
} Point;

Anyway, the "Point" is still giving me hard time:
psql:foo.sql:3: ERROR:  could not load library "...foo.so": ld.so.1: 
postgres: fatal: relocation error: file ...foo.so: symbol 
PG_GETARG_POINT_P: referenced symbol not found


Thanks a lot,
Ray


---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq