sugiro que vc use bytea.
>________________________________
> De: Marcelo Silva <[email protected]>
>Para: Comunidade PostgreSQL Brasileira <[email protected]>
>Enviadas: Terça-feira, 21 de Agosto de 2012 15:38
>Assunto: [pgbr-geral] Text X Character Varying
>
>
>Campo Text no Postgres é tipo Blob ?
>
>Por exemplo, se eu gravo em um campo Text a string
>
>{\rtf1\ansi\deff0{\fonttbl{\f0\fnil MS Sans Serif;}{\f1\fnil\fcharset0 MS
Sans Serif;}}
>\viewkind4\uc1\pard\lang1046\b\f0\fs16 IMPORTANTE \b0
>\par
>\par \i\f1 Teste de documento\i0
>\par
>\par Teste de \ul documento\ulnone
>\par
>\par Teste de \strike documento\strike0\f0
>\par }
>
>Ele dá o erro:
>
>---------------------------
>Debugger Exception Notification
>---------------------------
>Project Project1.exe raised exception class EZSQLException with message
'SQL Error: ERRO: sequência de bytes é inválida para codificação "UTF8":
0x00'. Process stopped. Use Step or Run to continue.
>---------------------------
>OK Help
>---------------------------
>
>Já em um campo Character ele grava
>
>Qual o problema?
>
>
>Marcelo Silva
>-----------------------------------------
>_______________________________________________
>pgbr-geral mailing list
>[email protected]
>https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>
>_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral