473,322 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Problem with public schema

Hi all
I've just started using postgres and have all my tables defined in the
public schema.
For some reason I'm being forced to use sql like the following
select * from public."tblCategory";
instead of
select * from tblCategory;

the
show search_path;
command returns
$user,public

When I use commands like
select * from tblCategory;
I get the following error

ERROR: Relation "tblcategory" does not exist



Anyone got any suggestions on what I'm missing here?



I tried to post this to the pgsql-novice mailing list but it doesn't
seem to appear on the mailing list.



Nick Allan

Adaptive Technology Consultant

__________________________________________________ _

RVIB - VisTech

201 High Street, Prahran Vic 3181

Website: www.vistech.rvib.org.au

Email: ni********@rvib.org.au
Phone: +613 9520 5555
Fax: +613 9525 2065

___________________________________________

This email (including all attachments) may contain personal information
and is intended solely for the named addressee. It is confidential and
may be subject
to legal or other professional privilege. Any confidentiality or
privilege is not waived or lost because this email has been sent to you
by mistake.
If you have received it in error, please let us know by reply email,
delete it from your system and destroy any copies.

This email is also subject to copyright. No part of it should be
reproduced, adapted or communicated without the written consent of the
copyright owner.
Any personal information in this email must be handled in accordance
with the Privacy Act 1988 (Cth).

Emails may be interfered with, may contain computer viruses or other
defects and may not be successfully replicated on other systems. We give
no warranties
in relation to these matters. If you have any doubts about the
authenticity of an email purportedly sent by us, please contact us
immediately.






Nov 23 '05 #1
1 1048
Nick Allan wrote:
Hi all
I've just started using postgres and have all my tables defined in the
public schema.
For some reason I'm being forced to use sql like the following
select * from public."tblCategory";
instead of
select * from tblCategory;


You must have defined it as:
CREATE TABLE "tblCategory"

If you define a table using quotes, you need to quote it on access. If
you don't define using quotes, you don't need quotes on access.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jari Kujansuu | last post by:
I am trying to learn to use jing through JARV interface and I have read JARV User's Guide (http://iso-relax.sourceforge.net/JARV/JARV.html). I have downloaded jingjarv-examples.zip from JARV...
0
by: Brian | last post by:
I am having alot of trouble getting a XML document validated with a schema. I got a sample document and schema off of w3schools.com, which passed an online xml validator:...
0
by: Daniel Haag | last post by:
I have got an XML file, that aderes to a XDR-Schema which references elements and attributes in two other XDR-Schemas. I want to validate this XML file before I create a DOM tree in C#. This works...
6
by: trexim | last post by:
Hi, I am trying to create a Web Reference for CSTA using the URL http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl Visual .Net complains that: "...
2
by: Mike Bridge | last post by:
Hi- I've created an XHTML extension module which validates correctly using the W3C online schema validator, but fails when I use the .net 1.1 validator. It seems to be choking on an included W3C...
0
by: umhlali | last post by:
I get the following exception when my VB.NET app calls a Java web service that returns an array of objects. The same call works for a single object though. So looks like there is no problem...
1
by: leslie_tighe | last post by:
Hello, I have webservice created with Axis 1.2.1 and that I am trying to consuming in .NET (VB) using the Microsoft provided tools. While I am able to consume methods on the service that return...
0
by: Kapil Joshi | last post by:
Hi, This issue is related to System.Xml.Serialization.XmlElementArrayAttribute class. We are using VS.NET 2005 (RTM) Professional Edition version 8.0.50727.42 (RTM.050727-4200)....
1
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive...
0
by: Julien Sobrier | last post by:
Hello, I have an XML that looks like this (simplified): <schemafile> <schemalist module="xxxx"> <schema> ... </schema> <schema> .... <schema>
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.