PLEASE HELP ME!!!binary in text/varchar?

Поиск
Список
Период
Сортировка
От Swaminathan Natarajan
Тема PLEASE HELP ME!!!binary in text/varchar?
Дата
Msg-id Pine.LNX.4.10.10103291530520.31907-100000@mickey.dcs.uky.edu
обсуждение исходный текст
Список pgsql-interfaces
Hi there!

I am using pgsql 7.0/ecpg C interface on Redhat 6.1.
Is it possible to store and retrieve fixed length binary data (<100bytes
in length) in text or varchar (or any other data type)? Using ecpg, I want
to "memcpy" from my local variable to a field in the table and back.
Postgresql seems to do a "strcpy" instead. If someone can help me, I
would greatly appreciate it! I checked the archives and examples but found
no relevant articles.

THANKS!!!
Swami. 





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

Предыдущее
От: "NSB)Hiroshi Kasamatsu"
Дата:
Сообщение: JDBC connection by crontab
Следующее
От: "Apostolos B. STERGIOPOULOS"
Дата:
Сообщение: Re: need help with errors in ODBC log