pgAdmin Error when trying to run a simple SELECT - Mailing list pgadmin-support
From | Brad Smith |
---|---|
Subject | pgAdmin Error when trying to run a simple SELECT |
Date | |
Msg-id | A51777EE23640141A17640B11E6637FA036927@rdaex01.rdac.com.au Whole thread Raw |
List | pgadmin-support |
<div class="Section1"><p class="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:"CourierNew"">> My problem is this: Whenever I try to run an SQL statement like:</span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:"CourierNew"">> </span></font><p class="MsoNormal" style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">>SELECT * from refUSERS;</span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier New"size="2"><span style="font-size:10.0pt;font-family:"Courier New"">> </span></font><p class="MsoNormal" style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">>I get an error:</span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><spanstyle="font-size:10.0pt;font-family:"Courier New"">> </span></font><p class="MsoNormal" style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">>ERROR: Relation "refusers" does not exist.</span></font><p class="MsoNormal" style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">PostgreSQLfolds unquoted identifiers to lower case. So if your select has the correct spelling you need to use:</span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal" style="text-autospace:none"><font face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">SELECT * from "refUSERS";</span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal" style="text-autospace:none"><font face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New""> </span></font><p class="MsoNormal" style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">JohnDeSoi, Ph.D.</span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><spanstyle="font-size:10.0pt;font-family:"Courier New""><a href="http://pgedit.com/">http://pgedit.com/</a></span></font><pclass="MsoNormal" style="text-autospace:none"><font face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New"">Power Tools for PostgreSQL</span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; font-family:Arial">John,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; font-family:Arial">Thank-you. You solved my problem!</span></font><p class="MsoNormal"><font face="Arial" size="2"><spanstyle="font-size:10.0pt; font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; font-family:Arial">Sincerely,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">BradSmith</span></font><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">.</span></font><pclass="MsoNormal"><font face="Times New Roman" size="3"><spanstyle="font-size: 12.0pt"> </span></font><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12.0pt"> </span></font></div>
pgadmin-support by date: