Skip to content

Instantly share code, notes, and snippets.

@3rt4nm4n
Created February 8, 2022 08:03
Show Gist options
  • Save 3rt4nm4n/c4e90d3e08f48e4f2c85ed75446a9a4d to your computer and use it in GitHub Desktop.
Save 3rt4nm4n/c4e90d3e08f48e4f2c85ed75446a9a4d to your computer and use it in GitHub Desktop.
Inputting an image to postgresql database
INSERT INTO persons(name,country,image) VALUES(
'George Washington',
'United States of America',
pg_read_binary_file('D:\GeorgeWashington.png')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment