Re: Hide column in a view?

From: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
To: jmay(at)speark(dot)com
Cc: pgsql-novice(at)postgresql(dot)org, pgsql-novice-owner(at)postgresql(dot)org
Subject: Re: Hide column in a view?
Date: 2003-04-16 16:44:56
Message-ID: OFAA673EEA.148039D9-ON88256D0A.005B7BFB-88256D0A.005C7239@fds.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


How about disabling the Updatable Cursors in the ODBC? I had a problem
with a view showing error message: Attribute "oid" not found until I
unchecked it.


"Juliet May"
<jmay(at)speark(dot)c To: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
om> cc: <pgsql-novice(at)postgresql(dot)org>,
<pgsql-novice-owner(at)postgresql(dot)org>
04/16/2003 Subject: Re: [NOVICE] Hide column in a view?
09:38 AM

That option was already turned off. The problem is that views do not have
oids as system columns, yet the psqlodbc driver is looking for an oid
column
when it tries to access a view. In order to provide the psqlodbc driver
with
the oid column it was looking for we had to include the oid column in the
select statement in our definition of the view. Since it is now seen as a
user column the setting on the odbc panel does not affect it.

----- Original Message -----
From: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
To: <jmay(at)speark(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>; <pgsql-novice-owner(at)postgresql(dot)org>
Sent: Wednesday, April 16, 2003 9:53 AM
Subject: Re: [NOVICE] Hide column in a view?

>
> In ODBC, it's a setting. You can turn if off. Look click the Datasource
> button on your ODBC entry.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Robert Treat 2003-04-16 19:10:40 Re: Novice needs help in Portuguese-BR
Previous Message Juliet May 2003-04-16 16:38:10 Re: Hide column in a view?