From: Brew <brew@themode.com>
To: Félix Sánchez Rodríguez <fesanch@ciego.cult.cu>
Cc: PostgreSQLPHP <pgsql-php@postgresql.org>
Subject: Re: See postgre tables from PHP code
Date: Tue, 11 Nov 2008 22:32:31 -0500
Message-ID: <1d7288990811111932hf3c5f95kc77172124932e3d8@mail.gmail.com> (raw)
In-Reply-To: <001501c942e9$665772b0$3000a8c0@atenea>
References: <001501c942e9$665772b0$3000a8c0@atenea>
> 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=>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: brew@themode.com, fesanch@ciego.cult.cu
Subject: Re: See postgre tables from PHP code
In-Reply-To: <1d7288990811111932hf3c5f95kc77172124932e3d8@mail.gmail.com>
References: <001501c942e9$665772b0$3000a8c0@atenea> <1d7288990811111932hf3c5f95kc77172124932e3d8@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox