Обсуждение: Bench Test
<p><font color="#808080" face="Verdana" size="2">I am trying to run the bench test included with the distribution and I amgetting the error:</font><p><font color="#808080" face="Verdana" size="2">FATAL 1: File /usr/local/pgsql/src/test/bench/template1/PG_VERSIONis missing. This is not a valid data directory.</font><p><font color="#808080"face="Verdana" size="2">Does anyone know how I can fix this?</font><br /><p><b><font face="Verdana" size="2">RayHunter</font></b><br /><font face="Verdana" size="2">Firmware Engineer</font><p><b><font face="Verdana" size="2">ENTERASYSNETWORKS</font></b><p><font face="Verdana" size="2">Phone: 801 887-9888</font><br /><font face="Verdana"size="2">Fax: 801 972-5789</font><br /><font face="Verdana" size="2">Email: </font><a href="mailto:rhunter@enterasys.com"><u><fontcolor="#0000FF" face="Verdana" size="2">rhunter@enterasys.com</font></u></a><br/><font face="Verdana" size="2">www: </font><a href="http://www.enterasys.com"><u><fontcolor="#0000FF" face="Verdana" size="2">www.enterasys.com</font></u></a>
"Hunter, Ray" <rhunter@enterasys.com> writes: > I am trying to run the bench test included with the distribution and I am > getting the error: > FATAL 1: File /usr/local/pgsql/src/test/bench/template1/PG_VERSION is > missing. This is not a valid data directory. Uh ... how exactly did you start the postmaster? It looks like you tried to point it to src/test/bench as the database directory, which is surely not right. Also, which PG version are you using, anyway? regards, tom lane