[Oledb-dev] PgOleDb and Crystal Reports (and MSSQL)

Shachar Shemesh psql at shemesh.biz
Sat Apr 15 12:11:05 UTC 2006


Arvo wrote:

>1. For specifying database on pg server pgoledb does use property INIT_LOCATION (PgDs.h and related). Unfortunately CR OLEDB connection dialog cannot understand this property; if we use INIT_CATALOG instead, then CR connection dialog allows choose database too.
>
>According to MSDN DBPROP_INIT_LOCATION is typically used as server name (if used at all).
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/oledbdbprop_init_location.asp
>In role of database (catalog) name should be used DBPROP_INIT_CATALOG. 
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/oledbdbprop_init_catalog.asp
>  
>
Hmm.

I have to say this is just one more place where the documentation is
simply impossible to understand. How you figured out from the links
above that this is what the properties mean, I would love to hear.

In the mean while, I'll just make both properties (INIT_LOCATION and
INIT_CATALOG) mean the same thing, and we'll document LOCATION as
deprecated. Let's get out there a version that sortof works, and deal
with the rest later.

          Shachar


More information about the Oledb-devel mailing list