Host variables (from C) in EmbeddedSQL

Поиск
Список
Период
Сортировка
От Andy Collins
Тема Host variables (from C) in EmbeddedSQL
Дата
Msg-id 403347B5.9080005@belgravium.com
обсуждение исходный текст
Список pgsql-novice
Hi Folks,

I'm cutting my first app with ESQL (postgresql) within C and have a
remedial question.

When I pass a fixed length string to SQL to add to a table (or anything
really) must it be NULL terminated even though I've told SQL it's a
fixed length char(n) and C knows it as the same?

My experiments suggest this is the case. Can anyone confirm this and
suggest a way around it as I'm grafting ESQL onto an existing application.


Thanks


Andy.

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

Предыдущее
От: "Crombleholme, Roy"
Дата:
Сообщение: Re: Unable to connect to PostgreSQL server:
Следующее
От: "Luc ROLLAND"
Дата:
Сообщение: Re: Create Rule