Problem with seeing views

Started by Ellen Cyranover 24 years ago2 messagesgeneral
Jump to latest
#1Ellen Cyran
ellen@urban.csuohio.edu

I am using psql on two different Linux machines
and I am also using pgaccess to connect to
postgreSQL 7.1.2 from my PC. My problem is that using '\d'
on the one Linux server, I don't see the views.
When accessing either server through pgaccess,
I don't see any views, but I can create views.

Does anyone know what I can try to fix these
view problems?

Thanks.

Ellen Cyran
Levin College of Urban Affairs
Cleveland State University

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ellen Cyran (#1)
Re: Problem with seeing views

Ellen Cyran <ellen@urban.csuohio.edu> writes:

I am using psql on two different Linux machines
and I am also using pgaccess to connect to
postgreSQL 7.1.2 from my PC. My problem is that using '\d'
on the one Linux server, I don't see the views.
When accessing either server through pgaccess,
I don't see any views, but I can create views.

A first guess is that the two servers are different PG versions
and you are using the same psql to talk to both of them. The
SQL commands psql uses for "\d" and related catalog queries
unfortunately are rather version-dependent, and don't always work
across a mismatched server & psql.

Try "select version()" to check the server version, and do "psql -V"
to check psql's.

regards, tom lane