Search Postgresql Archives

Re: Display Bytea field

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

 



On 1/9/25 12:17, Andy Hartman wrote:
How thru a simple query can I make sure data matches and I can display it

What you are facing:

1) Bytea stores binary strings in the formats specified here:

https://www.postgresql.org/docs/current/datatype-binary.html

2) The database has no 'knowledge' of what those binary strings represent. They could be an image, a PDF, a spreadsheet file, etc.

3) To achieve what you want you need some sort of client code that can take the binary strings and convert them to the correct output. Then you can match and display.


On Thu, Jan 9, 2025 at 3:16 PM Andy Hartman <hartman60home@xxxxxxxxx <mailto:hartman60home@xxxxxxxxx>> wrote:

    I have migrated over a Table from Mssql that had an Image column I
    now have it in Postgres


--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx






[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux