pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql-odbc bug querying VIEWs
2+ messages / 2 participants
[nested] [flat]

* pgsql-odbc bug querying VIEWs
@ 2003-06-04 14:03 Mahlon Stacy <mcs@mayo.edu>
  2003-06-05 14:58 ` Re: pgsql-odbc bug querying VIEWs Hollysugar Webmaster <webmaster@hollysugar.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mahlon Stacy @ 2003-06-04 14:03 UTC (permalink / raw)
  To: pgsql-odbc

I have created a postgres VIEW for a user into a set of tables,
and want to provide the user access from ODBC on Windows. The
query into the VIEW fails, however, with the following message:

Microsoft Query: Error: No such attribute as bdstatview.oid

I am not requesting an explicit query on the OID. I am only requesting
retrieval of the columns listed in the view.

Queries into the other (real) tables in the same database work fine.

pgsql-odbc version 7.02.00.05
Postgresql version 7.3.2-1
Windows OS XP Pro
DB Server OS Red Hat Linux 8.0

I have tried restricting the query to a small subset of the VIEW columns,
same result. I have also turned on Fake OIDs in the ODBC config and re-run
the query, same results.

I cannot access the pgsql-odbc server this morning to see if there
is a later version of the driver.

-Mahlon
-------------------------------------------------------------
Mahlon Stacy                   Internet:   mcs@mayo.edu
Mayo Foundation                (507) 284-4558
Medical Science Bldg 1-43      FAX (507) 284-1632
Rochester, MN 55905            
-------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql-odbc bug querying VIEWs
  2003-06-04 14:03 pgsql-odbc bug querying VIEWs Mahlon Stacy <mcs@mayo.edu>
@ 2003-06-05 14:58 ` Hollysugar Webmaster <webmaster@hollysugar.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Hollysugar Webmaster @ 2003-06-05 14:58 UTC (permalink / raw)
  To: pgsql-odbc

This issue is also a problem for us. We are also using views to provide
access to various users through ODBC. In addition to using select queries,
we are also using update and delete queries with rules to change the
underlying tables.

Any help would be appreciated.

Thanks.

Julie

<snip>
----- Original Message -----
From: "Mahlon Stacy" <mcs@mayo.edu>
To: <pgsql-odbc@postgresql.org>
Sent: Wednesday, June 04, 2003 8:03 AM
Subject: [ODBC] pgsql-odbc bug querying VIEWs


> I have created a postgres VIEW for a user into a set of tables,
> and want to provide the user access from ODBC on Windows. The
> query into the VIEW fails, however, with the following message:
>
> Microsoft Query: Error: No such attribute as bdstatview.oid
>
</snip>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-06-05 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-04 14:03 pgsql-odbc bug querying VIEWs Mahlon Stacy <mcs@mayo.edu>
2003-06-05 14:58 ` Hollysugar Webmaster <webmaster@hollysugar.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox