Re: trouble with query

Поиск
Список
Период
Сортировка
От Luis Amigo
Тема Re: trouble with query
Дата
Msg-id 3C165BEA.AC4B5667@atc.unican.es
обсуждение исходный текст
Ответ на trouble with query  (Luis Amigo <lamigo@atc.unican.es>)
Список pgsql-novice
>
>
> Possibly a bug, but the query alone is useless.  Can't investigate
> without a complete example (table declarations and sample data,
> not just query; preferably in the form of a psql script).  Please
> see the bug reporting guidelines in the User's Guide.
>
>                         regards, tom lane

Sorry, I almost forget, I think this shell may work, u have to change
path
createdb tpch
createlang 'plpgsql' tpch
psql -c '\i tables'
\i '/path/region.sql'
\i '/path/nation.sql'
\i '/path/part.sql'
\i '/path/supplier.sql'
\i '/path/customer.sql'
\i '/path/partsupp.sql'
\i '/path/orders.sql'
\i '/path/lineitem.sql'
copy region from'/path/region.dat' with NULL as 'NULL';
copy nation from'/path/nation.dat' with NULL as 'NULL';
copy part from'/path/part.dat' with NULL as 'NULL';
copy supplier from'/path/supplier.dat' with NULL as 'NULL';
copy customer from'/path/customer.dat' with NULL as 'NULL';
copy partsupp from'/path/partsupp.dat' with NULL as 'NULL';
copy orders from'/path/orders.dat' with NULL as 'NULL';
copy lineitem from'/path/lineitem.dat' with NULL as 'NULL';

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

Предыдущее
От: "infotechsys.wayne@verizon.net"
Дата:
Сообщение: problem untarring the latest release
Следующее
От: Tom Lane
Дата:
Сообщение: Re: trouble with query