Em 12/01/11, Antonio Cesar<cgcesarsoa...@gmail.com> escreveu: > Pessoal estou migrando da versão 8.2 para 9 so que os meus campos bytea > dá erro. > > Alguem pode me ajutar. >
O formato tradicional adotado pra entrada e saída do tipo bytea é o "escape". Na versão 9.x o padrão foi alterado para "hex". Do manual: "The bytea type supports two external formats for input and output: PostgreSQL's historical "escape" format, and "hex" format. Both of these are always accepted on input. The output format depends on the configuration parameter bytea_output; the default is hex. (Note that the hex format was introduced in PostgreSQL 9.0; earlier versions and some tools don't understand it.) " http://www.postgresql.org/docs/current/interactive/datatype-binary.html Osvaldo _______________________________________________ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral