Hi,
I am adding image and large object support in my Cocoa
postgresql browser.
Are there going to be any enhanced bytea support functions
coming along?
It seems sorta silly to have to write customized C code
to import a file into a bytea field.
Maybe something like
CREATE TABLE image (
name text,
raster bytea
);
INSERT INTO image (name, raster)
VALUES ('beautiful image', bytea_import('/etc/motd'));
SELECT bytea_export(image.raster, '/tmp/motd') FROM image
WHERE name = 'beautiful image';
Jerry
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match