Re: pg_regress: paths in largeobject test

Поиск
Список
Период
Сортировка
От Jorgen Austvik - Sun Norway
Тема Re: pg_regress: paths in largeobject test
Дата
Msg-id 474FCD32.4070502@sun.com
обсуждение исходный текст
Ответ на Re: pg_regress: paths in largeobject test  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_regress: paths in largeobject test  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-patches
Tom Lane wrote:
> Jorgen Austvik - Sun Norway <Jorgen.Austvik@Sun.COM> 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 @abs_builddir@.

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
--

Jørgen Austvik, Software Engineering - QA
Sun Microsystems Database Technology Group

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: NikhilS
Дата:
Сообщение: Re: [DOCS] Partition: use triggers instead of rules
Следующее
От: "Brendan Jurd"
Дата:
Сообщение: Re: [GENERAL] Empty arrays with ARRAY[]