|
|||||||||||
|
[BUGS] unable to see other schemas besides public
From: Gabriel Ramirez <gabrielramirez(at)yahoo.com>
Date: Sat Nov 24 2007 - 20:05:24 EST
in a database I created a schema, but as superuser or as an user of that schema I'm unable to see a listing of the schema contents. I'm running postgresql 8.2.5, compiled via macports under Mac OS X 10.4.10 commands and output follows:
soporte_misc=# create schema test1;
Access privileges for database "soporte_misc"
Schema | Name | Type | Access
privileges
- --------+------------------------+----------+----------------------------------------------- public | numero_en_letra | table |{postgres=arwdxt/postgres,myuser=r/postgres} public | numero_en_letra_id_seq | sequence | (2 rows) I was expecting the test1.mytable listed above
soporte_misc=# \z test1
- --------+------+------+------------------- (0 rows)
soporte_misc=# \z test1.mytable
- --------+---------+-------+-------------------test1 | mytable | table | (1 row) with \dt: soporte_misc=# \dt
List of relations
Schema | Name | Type | Owner
- --------+-----------------+-------+----------
public | numero_en_letra | table | postgres
(1 row)
soporte_misc=# \dt test1
List of relations
now creating one index:
soporte_misc=# create index myindex on test1.mytable(username);
CREATE INDEX
soporte_misc=# \di
List of relations
soporte_misc=# so seems if one don't specified the schemaname.objects to list the database don't return them, or maybe I'm missing a step after creating the schema and objects to be able to list them. granting all privileges on the schema and objects don't change the output above. only once I was able to see the schemas and objects with a normal user account (existing only in postgres) but now I'm unable to reproduce that. thanks in advance, Gabriel Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ ---------------------------(end of broadcast)---------------------------TIP 6: explain analyze is your friend Received on Sun Nov 25 03:17:26 2007 This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:50:11 EDT |
||||||||||
|
|||||||||||