Re: dbt2-shell script problem

Поиск
Список
Период
Сортировка
От Jonas J
Тема Re: dbt2-shell script problem
Дата
Msg-id 68962a631001141251x6a599438y70e3ea33628d7892@mail.gmail.com
обсуждение исходный текст
Ответ на Re: dbt2-shell script problem  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Thanks for your support,<br /><br />The problem was that Ubuntu links /bin/sh to /bin/dash and not /bin/bash, that
makessome scripts crashing. I done the correct linking and everything works fine now.<br />Also thanks for Mark Wong
support,<br/><br />Jonas,<br /><br /><br /><br /><div class="gmail_quote">2010/1/11 Robert Haas <span dir="ltr"><<a
href="mailto:robertmhaas@gmail.com">robertmhaas@gmail.com</a>></span><br/><blockquote class="gmail_quote"
style="border-left:1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Mon,
Jan11, 2010 at 4:18 PM, Jonas J <<a href="mailto:autoramajj@gmail.com">autoramajj@gmail.com</a>> wrote:<br />
>I get the dbt2 project from the git tree. And i'm trying to make it work<br /> > with postgres. The problem is
inone of the dbt2 shell scripts. Since I dont<br /> > understand of Shell Script Programing, here is my problem: (I
willpost the<br /> > script on the end)<br /><br /></div>Well this isn't really a "help" list... especially not
for<br/> shell-script programming... especially for shell-scripts that aren't<br /> even part of PostgreSQL.<br /><br
/>But having said that... I think you must be running a wonky version of sh.<br /><br /> $ DBNAME=rhaas ./broken-script
-d/tmp/fodao<br /> Loading customer table...<br /> COPY customer FROM '/tmp/fodao/customer.data' WITH NULL AS '';<br />
ERROR: relation "customer" does not exist<br /><br /> ...Robert<br /><font color="#888888"><br /> --<br /> Sent via
pgsql-hackersmailing list (<a href="mailto:pgsql-hackers@postgresql.org">pgsql-hackers@postgresql.org</a>)<br /> To
makechanges to your subscription:<br /><a href="http://www.postgresql.org/mailpref/pgsql-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgsql-hackers</a><br/></font></blockquote></div><br /> 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: EXPLAIN, utility statement parameters, and recent plpgsql changes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Streaming replication, retrying from archive