Tom Lane wrote:
Jorgen Austvik - Sun Norway <[EMAIL PROTECTED]> writes:
I believe the results paths in line 139 and 144 are missing the @abs_builddir@ qualifier.

I'd put it the other way around: likely we should get rid of the
one use of @[EMAIL PROTECTED]

He, he.

Generally I prefer explicit over implicit (having the full paths make troubleshooting easier), but in this case you have the additional aspect of the lo_import operating relative to the client, while lo_export operates relative to the server. If you remove @abs_builddir@ on the first one, you might e.g. get problems like this:

  SELECT lo_export(loid, 'results/lotest.txt') FROM lotest_stash_values;
  ERROR:  could not create server file "results/lotest.txt": No such
  file or directory


Jørgen Austvik, Software Engineering - QA
Sun Microsystems Database Technology Group
fn;quoted-printable:J=C3=B8rgen Austvik
org:Sun Microsystems;Database Technology Group
adr:;;Haakon VIII gt. 7b;Trondheim;;NO-7485;Norway
email;internet:[EMAIL PROTECTED]
title:Senior Engineer
tel;work:+47 73 84 21 10 
tel;fax:+47 73 84 21 01
tel;cell:+47 901 97 886

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to