Re: See postgre tables from PHP code

Brew <[email protected]>
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
> Beside, I opened my PostgreSQL interface, called pgAdmin and run the same
> query inside the ATM database and the error was the same: "relation
> 'usuarios' was not found". It's like something else was needed to access the
> DB tables.

From the postgres monitor (or maybe pgAdmin) do \d to see a list of
the tables available.

That is, in my case:

mode=> \d
                  List of relations
 Schema |          Name           |   Type   | Owner
--------+-------------------------+----------+-------
 public | accode                  | table    | mode
 public | categories              | table    | mode
 public | key_requests            | table    | mode
 public | listings                | table    | mode
 public | listings_listing_id_seq | sequence | mode
 public | query_benchmarks        | table    | mode
 public | stored_strings          | table    | mode
 public | uptime_benchmarks       | table    | mode
 public | users                   | table    | mode
 public | users_user_id_seq       | sequence | mode
(10 rows)

mode=>

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.