<div>I tried out adding the &quot;`&quot; quotes to the name, also trying Postgre double-quotes around names.  Adding the quotes around the name allowed it to stay capitalized, but gave the same error.  I changed the name of the table to tblUsers and it still lowercased the middle &#39;U&#39; in the name to all small case, no matter how I quoted it.</div>
<div><br></div><div>So, I changed the name of the table to tblusers and the error changed to the following:</div><div><span class="Apple-style-span" style="font-family: Times; font-size: medium; "><pre>  File &quot;/usr/lib64/python2.5/site-packages/storm/store.py&quot;, line 1139, in one
    result = self._store._connection.execute(select)

  File &quot;/usr/lib64/python2.5/site-packages/storm/databases/postgres.py&quot;, line 249, in execute
    return Connection.execute(self, statement, params, noresult)

  File &quot;/usr/lib64/python2.5/site-packages/storm/database.py&quot;, line 237, in execute
    raw_cursor = self.raw_execute(statement, params)

  File &quot;/usr/lib64/python2.5/site-packages/storm/databases/postgres.py&quot;, line 259, in raw_execute
    return Connection.raw_execute(self, statement, params)

  File &quot;/usr/lib64/python2.5/site-packages/storm/database.py&quot;, line 321, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)

  File &quot;/usr/lib64/python2.5/site-packages/storm/database.py&quot;, line 366, in _check_disconnect
    return function(*args, **kwargs)

ProgrammingError: column tblusers.userno does not exist
LINE 1: SELECT tblusers.UserNo FROM tblusers WHERE false</pre></span></div><div>So, the problem here is that the UserNo column has capitals in it.  I altered the column name to userno and ran the code again and it worked successfully.  So, still not sure what is going on.  Maybe I&#39;m not formatting something properly.  It seems like it is having some PostgreSQL trouble and is turning the names of somethings into small case?</div>
<div><br></div><div>Thanks,</div>Rory<br>
<br><br><div class="gmail_quote">On Sat, Oct 2, 2010 at 8:31 PM, Fernando Correa Neto <span dir="ltr">&lt;<a href="mailto:fcdoth@gmail.com">fcdoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
I *think* the name &quot;users&quot; is reserved in postgresql but I may be wrong.<br>
You could try to use __storm_table__ = &quot;`Users`&quot; but I&#39;m not sure if<br>
storm is going to allow you to get away with it. Worth trying though.<br>
<br>
Regards,<br>
<div><div></div><div class="h5"><br>
On Sat, Oct 2, 2010 at 11:25 PM, Rory Brown &lt;<a href="mailto:gozargozarian@gmail.com">gozargozarian@gmail.com</a>&gt; wrote:<br>
&gt; I am having an issue starting out with Storm and PostgreSQL.  I have a<br>
&gt; simple table called &quot;Users&quot; in the database and have defined my class to<br>
&gt; have _storm_table_ = &quot;Users&quot;.  But, when I attempt to use the class, as it<br>
&gt; used to work in MySQL, I get the error: ProgrammingError: relation &quot;users&quot;<br>
&gt; does not exist.  It has made my Users table smallcase. How do I fix that?<br>
&gt; What did I do wrong? Used to work fine with MySQL and same case, names, and<br>
&gt; data.<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Rory<br>
</div></div>&gt; --<br>
&gt; storm mailing list<br>
&gt; <a href="mailto:storm@lists.canonical.com">storm@lists.canonical.com</a><br>
&gt; Modify settings or unsubscribe at:<br>
&gt; <a href="https://lists.ubuntu.com/mailman/listinfo/storm" target="_blank">https://lists.ubuntu.com/mailman/listinfo/storm</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>