Search Postgresql Archives

Re: interpret bytea output as text / double encode()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > # select encode(encode(column, 'escape'), 'escape')
 
> Any  chance you can encode() into temp table then encode() the result. 

Don't think so, PostgreSQL will recognize the temp column either as text
or as bytea and then refuse either the insert or the encode() because of
a type mismatch.

Any workaround for this would most likely solve my original problem
without the use of a temp table.

Stefan



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux