Mapping postgres image data to Servoy

Hi,

As a newbie, I’m still learning the ropes here, and I’ve run into a small snag. In the Postgres database I’m creating, I want to set up a table that will hold digital images. If I create the table in pgAdmin, what data type would I use in order to have that type be translated correctly into the corresponding Servoy data type, which I’m supposing is “Media”? I could, I guess, create the table on the Servoy side, but I should be able to do it either way, right?

Thanks for any help and have a good day.

Ron

bytea and you’re all set

Hi Jan,

Thanks a lot. I was just diving into the Postgresql doc and came across that as well, although it wasn’t entirely clear. Thanks for confirming what I found.

Have a good day.

Ron