ODBC doesn"t gets schemas

ODBC doesn"t gets schemas

am 16.06.2007 10:11:59 von El Cuy Volador

Dear all:

This is my first post. I am using Postgresql 8.2 and am triying to
connect from some apps (Codecharge Studio, Excel, OpenOffice Base, etc.)
to a database using a ODBC connection. The problem is that the tables do
not appear related to any schema (i.e. myschema.mytable). It just
retrieves only the plain table name (mytable) and in some cases it
appears only the tables from the public schema (for example in
OpenOffice Base). In the last case I have solved instaling an extension
in OpenOffice, but in the other applications it is necessary to
retrieve the schema name along with the table.

=BFIs there any configuration I am missing in the ODBC connection? or is =
a
features not implemented yet.

Thanks a lot and best regards,

Alvaro

Platform details: Windows XP SP1, Postgresql 8.2 with postgis extension.
ODBC connector: 8.02.04.00.



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Re: ODBC doesn"t gets schemas

am 18.06.2007 16:44:45 von Richard Broersma Jr

--- El Cuy Volador wrote:

> The problem is that the tables do
> not appear related to any schema (i.e. myschema.mytable). It just
> retrieves only the plain table name (mytable) and in some cases it
> appears only the tables from the public schema (for example in
> OpenOffice Base).=20

I am not sure I completely understand your problem, but my experiece is =
that schema name are
recognized by the ODBC driver. However, in my case I use MS Access, when=
I use ODBC to link table
from the PostgreSQL server the resolved schema.table names in Access are =
"schema_table".

I am not sure what Open Office does in this regard.

Regards,
Richard Broersma Jr.

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Re: ODBC doesn"t gets schemas

am 18.06.2007 19:34:05 von Richard Wesley

--Apple-Mail-14--130101406
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed


On Jun 18, 2007, at 7:44 AM, Richard Broersma Jr wrote:

> I am not sure I completely understand your problem, but my
> experiece is that schema name are
> recognized by the ODBC driver. However, in my case I use MS
> Access, when I use ODBC to link table
> from the PostgreSQL server the resolved schema.table names in
> Access are "schema_table".

We use the OLE DB wrapper for ODBC to talk to the driver and it
appears to return both schema and table names. It doesn't set some
of the flags (e.g. system tables) but there must be some way to get
multi-part names back. MS SQL Server has hierarchical names and it
presumably works with Access...
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html




--Apple-Mail-14--130101406
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

-khtml-line-break: after-white-space; ">

On Jun 18, 2007, =
at 7:44 AM, Richard Broersma Jr wrote:

class=3D"Apple-interchange-newline">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> 12.0px Helvetica">I am not sure I completely understand your =
problem,=A0 but my =
experiece is that schema name are
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">recognized by the ODBC driver. class=3D"Apple-converted-space">=A0 However, in my case I use MS =
Access, when I use ODBC to link table
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> 12.0px Helvetica">from the PostgreSQL server the resolved schema.table =
names in Access are "schema_table".
=

We =
use the OLE DB wrapper for ODBC to talk to the driver and it appears to =
return both schema and table names.=A0 It doesn't set some of the flags =
(e.g. system tables) but there must be some way to get multi-part names =
back.=A0 MS SQL Server has hierarchical names and it presumably works =
with Access...
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
">
________________________________________________________
=
Richard Wesley   =A0      Senior=A0Software Developer  =A0=
        Tableau Software


class=3D"Apple-interchange-newline">
=

=

--Apple-Mail-14--130101406--