EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

Where did the data go?  XML

Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Author Message
mark_Smith

Member

Joined: 3 Dec 2009 20:18:26
Messages: 11
Offline

Hi all, dumb question here. With the excellent help of Vibhor I was able to copy a txt file into a table. When I execute
the select command I get the following (so I am pretty sure the data is in a table called test_copy in a database called test)

test=# select * from test_copy;
id1 | id2 | id3
-----+-----+-----
1 | 2 | 3
4 | 5 | 6
7 | 8 | 9
(3 rows)


However, when I go into pgAdmin there is absolutely no evidence of a table called test_copy, nor of any data. I guess I am misunderstanding what pgAdmin is for, but I would have thought that at least the table would show up? Under "test" all I see are catalogs, schemas and replication.

Thanks for your insights.

-- Mark
Dave_P

Senior member
[Avatar]

Joined: 26 Sep 2005 12:09:59
Messages: 158
Offline

mark_Smith wrote:
However, when I go into pgAdmin there is absolutely no evidence of a table called test_copy, nor of any data. I guess I am misunderstanding what pgAdmin is for, but I would have thought that at least the table would show up? Under "test" all I see are catalogs, schemas and replication.


Hi Mark,

Tables live in a schema, so if you expand the 'Schemas' node you see, and (probably) the 'public' schema, you should see a bunch more collection nodes including 'Tables', which should contain your table.
mark_Smith

Member

Joined: 3 Dec 2009 20:18:26
Messages: 11
Offline

Dave_P wrote:

Hi Mark,

Tables live in a schema, so if you expand the 'Schemas' node you see, and (probably) the 'public' schema, you should see a bunch more collection nodes including 'Tables', which should contain your table.


They are indeed there. Thanks Dave.
 
Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Go to:   
Powered by JForum 2.1.8 © JForum Team