Unix Technical Forum

[ psqlodbc-Bugs-1000707 ] SQLTables SQL_ALL_SCHEMAS duplicate schema names

This is a discussion on [ psqlodbc-Bugs-1000707 ] SQLTables SQL_ALL_SCHEMAS duplicate schema names within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Bugs item #1000707, was opened at 2006-08-14 21:10 You can respond by visiting: http://pgfoundry.org/tracker/?func=d...oup_id=1000125 Category: None Group: None >Status: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 03:12 AM
noreply@pgfoundry.org
 
Posts: n/a
Default [ psqlodbc-Bugs-1000707 ] SQLTables SQL_ALL_SCHEMAS duplicate schema names

Bugs item #1000707, was opened at 2006-08-14 21:10
You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

Category: None
Group: None
>Status: Closed

Resolution: None
Priority: 3
Submitted By: Farid Zidan (faridz)
Assigned to: Hiroshi Inoue (hinoue)
Summary: SQLTables SQL_ALL_SCHEMAS duplicate schema names

Initial Comment:
Executing SQLTables with SQL_ALL_SCHEMAS tabletype parameter the resultset has repeating/duplicate schema names. Should return one row for each schema in the database

----------------------------------------------------------------------

Comment By: Farid Zidan (faridz)
Date: 2006-12-04 16:39

Message:
This now works. Also [#1000706] works. Thanks.

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2006-12-04 03:31

Message:
Please try the attached dll.
Please try it for [#1000706] also.

regards,
Hiroshi Inoue

----------------------------------------------------------------------

Comment By: Farid Zidan (faridz)
Date: 2006-12-01 13:59

Message:
I am calling SQLTables:

rc = ::SQLTables( pSQL->Gethstmt(),
( SQLCHAR * ) "", //szTableCat,
( SQLSMALLINT ) 0, //cbTableCat,
( SQLCHAR * ) "%", // SQL_ALL_SCHEMAS
szTableSchem,
( SQLSMALLINT ) 1, //cbTableSchem,
( SQLCHAR * ) "", //szTableName,
( SQLSMALLINT ) 0, //cbTableName,
( SQLCHAR * ) "", //szTableType,
( SQLSMALLINT ) 0 /*cbTableType*/ );

return code is 0, but then you get SQL_NO_DATA_FOUND when
fetching the resultset rows

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2006-12-01 06:56

Message:
How are you calling SQLGetInfo concretely ?

regards,
Hiroshi Inoue

----------------------------------------------------------------------

Comment By: Farid Zidan (faridz)
Date: 2006-12-01 05:08

Message:
Driver 8.02.02.00 Now returns no rows at all

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2006-08-19 00:30

Message:
Please try the dll at
http://www.geocities.jp/inocchichich...dbc/index.html .

regards,
Hiroshi Inoue

----------------------------------------------------------------------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:00 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com