a silly question I suppose... What is the syntax in PostgeSql for inserting varbinary values? MSSQL-way when specifying binary value like 0xFFFF... did't work
+1
A:
Given there's no "varbinary" data type in Postgres I believe you mean "bytea". Take a look at the docs about the way to specify "bytea" literals.
Depending on the language and the bindings you use there could be more sophisticated ways for transferring binary data - you could find a .Net/C#/Npgsql example here (under "Working with binary data and bytea datatype").
Milen A. Radev
2009-06-01 19:44:15
thanksthat was exhaustive answerps luckily I use NHibernate to deal with all DB things)
2009-06-01 20:34:38