pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed[ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
7+ messages / 1 participants
[nested] [flat]
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-19 18:15 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-19 18:15 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 13:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-20 08:47 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-20 08:47 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 18:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
>Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 08:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-21 00:21 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-21 00:21 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 13:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
>Comment By: Jay Lundschen (datapoint)
Date: 2007-10-20 19:21
Message:
It works! Thanks.
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 03:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-22 14:51 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-22 14:51 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 13:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
>Comment By: Jay Lundschen (datapoint)
Date: 2007-10-22 09:51
Message:
Could you provide a UNICODE version?
Regards,
Jay
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-20 19:21
Message:
It works! Thanks.
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 03:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-22 23:38 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-22 23:38 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 18:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
>Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-22 23:38
Message:
Please try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-22 14:51
Message:
Could you provide a UNICODE version?
Regards,
Jay
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-21 00:21
Message:
It works! Thanks.
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 08:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2007-10-23 15:29 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2007-10-23 15:29 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 13:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
>Comment By: Jay Lundschen (datapoint)
Date: 2007-10-23 10:29
Message:
Thanks!
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-22 18:38
Message:
Please try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-22 09:51
Message:
Could you provide a UNICODE version?
Regards,
Jay
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-20 19:21
Message:
It works! Thanks.
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 03:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
* [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query
@ 2011-11-02 00:13 noreply@pgfoundry.org
0 siblings, 0 replies; 7+ messages in thread
From: noreply@pgfoundry.org @ 2011-11-02 00:13 UTC (permalink / raw)
To: noreply@pgfoundry.org
Bugs item #1009575, was opened at 2007-10-19 18:15
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Jay Lundschen (datapoint)
Assigned to: Nobody (None)
Summary: MS QUERY fails for multi table query
Initial Comment:
MS QUERY (MSQRY32.exe) fails "ERROR: cross-database references are not implemented:"databasename.public.table"; Error while executing the query" when using psqlODBC 8.02.05, 8.02.04, 8.02.03. It works with 8.02.02. I am using the ANSI driver.
When looking at the source I noticed the following:
In info.c is
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */
/*
* Returning the database name causes problems in MS Query. It
* generates query like: "SELECT DISTINCT a FROM byronnbad3
* bad3"
*
* p = CC_get_database(conn);
*/
p = CurrCatString(conn);
break;
And in connection.c in version 8.02.02 is
const char *CurrCat(const ConnectionClass *conn)
{
/*
if (conn->schema_support)
return conn->connInfo.database;
else
*/
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
And in connection.c in version 8.02.03 is
const char *CurrCat(const ConnectionClass *conn)
{
if (conn->schema_support)
return conn->connInfo.database;
else
return NULL;
}
const char *CurrCatString(const ConnectionClass *conn)
{
const char *cat = CurrCat(conn);
if (!cat)
cat = NULL_STRING;
return cat;
}
The change now allows the database name to be returned in version 08.02.03 and later versions if conn->schema_support is true.
Please let me know if you need more information.
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-22 23:38
Message:
Please try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-22 14:51
Message:
Could you provide a UNICODE version?
Regards,
Jay
----------------------------------------------------------------------
Comment By: Jay Lundschen (datapoint)
Date: 2007-10-21 00:21
Message:
It works! Thanks.
Regards,
Jay
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-20 08:47
Message:
Could you try the attached driver ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009575&group_id=1000125
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2011-11-02 00:13 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-19 18:15 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2007-10-20 08:47 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2007-10-21 00:21 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2007-10-22 14:51 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2007-10-22 23:38 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2007-10-23 15:29 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
2011-11-02 00:13 [ psqlodbc-Bugs-1009575 ] MS QUERY fails for multi table query noreply@pgfoundry.org
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