Host variables (from C) in EmbeddedSQL -
02-18-2004
, 05:08 AM
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.
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings |