can someone with pg provide a fix for this?<br><br>-g.<br><br><div class="gmail_quote">On Dec 17, 2007 4:24 PM, Reid Thompson &lt;<a href="mailto:Reid.Thompson@ateb.com">Reid.Thompson@ateb.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;From current repo...<br>Looks like the select for the sequence has double quotes that shouldn&#39;t be there<br><br>rthompso@raker ~ $ ruby simplePG.rb<br>&nbsp;INFO: Og uses the Postgresql store.<br>DEBUG: Og manageable classes: [SimpleTest]
<br>DEBUG: CREATE TABLE &quot;ogsimpletest&quot; (&quot;date&quot; text, &quot;ts&quot; text, &quot;oid&quot; serial PRIMARY KEY) WITHOUT OIDS<br>DEBUG: SELECT * FROM &quot;ogsimpletest&quot; LIMIT 1<br>DEBUG: SELECT nextval(&#39;&quot;ogsimpletest&quot;_oid_seq&#39;)
<br>ERROR: DB error ERROR: &nbsp;invalid name syntax<br>, [SELECT nextval(&#39;&quot;ogsimpletest&quot;_oid_seq&#39;)]<br>ERROR: /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/adapter/postgresql.rb:119:in `exec&#39;
<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/adapter/postgresql.rb:119:in `query_statement&#39;<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store/sql.rb:572:in `query&#39;
<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/adapter/postgresql.rb:152:in `insert&#39;<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store/sql.rb:102:in `og_insert&#39;<br>
/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store.rb:94:in `save&#39;<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/model.rb:69:in `save&#39;<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/manager.rb:118:in `with_store&#39;
<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/model.rb:68:in `save&#39;<br>simplePG.rb:36<br>/home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store/sql.rb:615:in `handle_sql_exception&#39;: Og::StoreException (Og::StoreException)
<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store/sql.rb:575:in `query&#39;<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/adapter/postgresql.rb:152:in `insert&#39;
<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store/sql.rb:102:in `og_insert&#39;<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/store.rb:94:in `save&#39;
<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/model.rb:69:in `save&#39;<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/manager.rb:118:in `with_store&#39;
<br> &nbsp; &nbsp; &nbsp; &nbsp;from /home/rthompso/src/repo.nitroproject.org/script/lib/../../og/lib/og/model.rb:68:in `save&#39;<br> &nbsp; &nbsp; &nbsp; &nbsp;from simplePG.rb:36<br><br>_______________________________________________<br>Nitro-general mailing list
<br><a href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/nitro-general" target="_blank">http://rubyforge.org/mailman/listinfo/nitro-general</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://gmosx.me.gr">http://gmosx.me.gr</a><br><a href="http://joy.gr">http://joy.gr</a><br><a href="http://cull.gr">http://cull.gr</a><br><a href="http://nitroproject.org">
http://nitroproject.org</a><br><a href="http://phidz.com">http://phidz.com</a><br><a href="http://joyerz.com">http://joyerz.com</a>