ODBC and long object names.

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема ODBC and long object names.
Дата
Msg-id 4.2.0.58.20000712131341.00ac0850@diligence.com
обсуждение исходный текст
Ответ на Re: more ODBC driver  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
I am not sure if this a bug report or a feature request.

When I compiles postgres I changed the NAMEDATALEN #DEFINE to 64 ( a more 
reasonable length for object names IMHO).  So far it has not caused any 
problems with postgres but it is causing problems with the ODBC driver. 
When I attempt to attach any table who has a long object name or an 
associated index with a long name it causes an error message and does not 
connect. It seems like it's returning a null or an empty sting or something.

There was talk a while ago about Postgres changing NAMEDATALEN a while back 
so this might become more important if the official disto gets changed.
:wq
Tim Uckun
Due Diligence Inc. http://www.diligence.com/   Americas Background 
Investigation Expert.
If your company isn't doing background checks, maybe you haven't considered 
the risks of a bad hire.



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bob Kline
Дата:
Сообщение: Re: Re: Subject: IIS4 ODBC LOGGING TO POSTGRES - CRASH HELP :)
Следующее
От: "Jonathan Marchand"
Дата:
Сообщение: Re: Re: Subject: IIS4 ODBC LOGGING TO POSTGRES - CRASH HELP :)