<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Has anyone written code to save files in PgSQL 
in a BLOB field?  I can't seem to get it to play with my file...  
I created a new column named resultsArchive of type "bytea" and psql 
won't play nice:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>data=> update tblTests set 
resultsArchive=lo_import('/temp/stuff.txt') where idTest = 161;<BR>ERROR:  
column "resultsarchive" of relation "tbltests" does not exist<BR>LINE 1: update 
tblTests set resultsArchive=lo_import('/temp/stuff....<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I've googled for examples and I see nothing that 
would make me think this is not correct.  Useful help would be greatly 
appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> - Joe</DIV></FONT></BODY></HTML>