Re: trouble with query - Mailing list pgsql-novice

From Luis Amigo
Subject Re: trouble with query
Date
Msg-id 3C165BEA.AC4B5667@atc.unican.es
Whole thread Raw
In response to trouble with query  (Luis Amigo <lamigo@atc.unican.es>)
List 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 by date:

Previous
From: "infotechsys.wayne@verizon.net"
Date:
Subject: problem untarring the latest release
Next
From: Tom Lane
Date:
Subject: Re: trouble with query