dbTalk Databases Forums  

access information_schema

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss access information_schema in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
f.kater
 
Posts: n/a

Default access information_schema - 04-24-2004 , 05:02 AM






Hi,

I successfully created my first db, a table and some data with psql
7.3.6. However, I can't access the information_schema. In psql I tried
queries like

SELECT * FROM information_schema.columns
SELECT * FROM information_schema.tables

but I get the error message that information_schema wouln't exist.

* Do I have to activate them?
* I don't think it's because of my permissions.
* I use psql 7.3.6.
* How could I list all availabel schemas?
* How do I access information_schema stuff?

Reply With Quote
  #2  
Old   
Stephan Szabo
 
Posts: n/a

Default Re: access information_schema - 04-26-2004 , 01:58 PM






On Sat, 24 Apr 2004, f.kater wrote:

Quote:
Hi,

I successfully created my first db, a table and some data with psql
7.3.6. However, I can't access the information_schema. In psql I tried
queries like

SELECT * FROM information_schema.columns
SELECT * FROM information_schema.tables

but I get the error message that information_schema wouln't exist.

* Do I have to activate them?
* I don't think it's because of my permissions.
* I use psql 7.3.6.
* How could I list all availabel schemas?
* How do I access information_schema stuff?
IIRC, information_schema was added in 7.4.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.