From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | wojtek(at)itl(dot)waw(dot)pl (wojtek) |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] Problems with \dt |
Date: | 1998-07-03 19:33:11 |
Message-ID: | 199807031933.PAA03795@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> Hello,
> I use postgreSQL 6.3. Have a look at this (after running psql):
>
> =====================================
> mydb=> vacuum;
> VACUUM
> mydb=> create table mytable (number int);
> CREATE
> mydb=> insert into mytable values(12);
> INSERT 18711 1
> mydb=> insert into mytable values(13);
> INSERT 18712 1
> mydb=> select * from mytable;
> number
> ------
> 12
> 13
> (2 rows)
>
> mydb=> \d mytable;
>
> Table = mytable
> +--------------+----------+-------+
> | Field | Type | Length|
> +--------------+----------+-------+
> | number | int4 | 4 |
> +--------------+----------+-------+
> mydb=> \dt
> Couldn't find any tables!
> mydb=>
> ===============================================
> (I made the above drawn table a little thiner to
> make it easier to view)
Strange. I recommend you pull the \dt query out of the psql.c source
file, and try it in psql to see what is failing. Could be a problem
that you can't read pg_passwd, which you should be able to do. \dt
needs to find the owner of the table to succeed.
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Lynch | 1998-07-03 20:11:53 | Doing \copy after a file upload. |
Previous Message | wojtek | 1998-07-03 17:22:45 | Problems with \dt |