Re: ERROR: No such attribute or function 'oid'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jimmy Andersson <jla(at)cention(dot)se>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ERROR: No such attribute or function 'oid'
Date: 2002-04-22 17:51:28
Message-ID: 17590.1019497888@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Jimmy Andersson <jla(at)cention(dot)se> writes:
> When I'm doing "\d+ tablename" in psql I get the following message.
> ERROR: No such attribute or function 'oid'
> I'm using version 7.1.3 of postgresql on linux 2.4.7-10

I suspect you are using a 7.1 psql against a 7.2 server. psql's \d
and related commands tend to be backend-version-specific; you'll need
to match psql and server versions. Try "psql --version" and
"select version();" respectively to find what you have.

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message lexx_h 2002-04-23 06:53:56 Re: getting value of just inserted rows
Previous Message Jimmy Andersson 2002-04-22 13:18:46 ERROR: No such attribute or function 'oid'