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 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; ">
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
Visit:
href=3D"http://www.trytableau.com/now.html">http://www.tryta bleau.com/now.=
html
class=3D"Apple-interchange-newline"> =