| From: | Michael Fork <mfork(at)toledolink(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | User/Groups |
| Date: | 2000-04-03 21:21:53 |
| Message-ID: | Pine.BSI.4.21.0004031714001.23790-100000@glass.toledolink.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
I am trying to populate a select box on a form with all users in the group
with the sysid of 1 using the following query:
SELECT usename FROM pg_user, pg_group WHERE pg_user.usesysid IN
pg_group.grolist AND pg_group.grosysid = 1;
however, everytime I run it I recieve the following error:
ERROR: parser: parse error at or near "pg_group"
which leads me to belive that the IN operator is not correct, is there
another one that I should be using? Thanks in advance.
Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-04-03 21:33:09 | Re: Hash Indexes. (Was: planner complaints) |
| Previous Message | Joseph Shraibman | 2000-04-03 20:28:58 | Re: Can't access a table. It seems to have been corrupted hsomehow |