Created
February 8, 2022 08:03
-
-
Save 3rt4nm4n/c4e90d3e08f48e4f2c85ed75446a9a4d to your computer and use it in GitHub Desktop.
Inputting an image to postgresql database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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