Daniel Schuchardt <[EMAIL PROTECTED]> writes:
> So I have to do 2 steps manually in psql:
>  \lo_import(ClientFile) -> Returns OID
>  INSERT INTO tablexy (BLOBFIELD) VALUES (Returned OID)

> Is there a way to do this automatically?

See psql's :LASTOID (I think that's the name) variable.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to