Re: PgAdmin problem - Mailing list pgsql-interfaces

From Agrawal, Manish
Subject Re: PgAdmin problem
Date
Msg-id 00A42578900AD411BCFD00A0C978DC9304DC020D@mail.coba.usf.edu
Whole thread Raw
In response to PgAdmin problem  ("Agrawal, Manish" <MAgrawal@coba.usf.edu>)
Responses Re: PgAdmin problem
Re: PgAdmin problem
List pgsql-interfaces
Thanks very much Frank, I will try what you suggested. 

1. Will this also be true for column names. So, if I have a column named
Last_Name, should I use SELECT "Last_Name" from "Members";

Do you then recommend that all tables and views be labeled in lowercase, so
that all queries will be consistent.

2. On another note, is there a tool like the MS Access front end that lets
you create constraints graphically by simply dragging and dropping columns
between tables and views by simply dragging columns from the respective
tables into the design window. 

3. Also, updatable views would make Postgresql so much easier to use.

The reason I ask is that if that were the case, PostgreSQL would be
enormously popular beyond expectations. At the very least, introductory
database courses in business schools could so easily use PostgreSQL instead
of MS Access.

Thanks
Manish

_________________________________
Manish Agrawal
Asstt. Prof., Dept. of ISDS, Univ. of South Florida
4202 E. Fowler Ave., CIS 1040, Tampa, Fl 33620 - 7800
(813)-974-6716 (W) 974-6749 (FAX)
magrawal@coba.usf.edu
______________________________________
My default office suite is Openoffice, the simple-to-use, opensource Office
Suite for Windows, Linux and Macs. http://www.openoffice.org

-----Original Message-----
From: Frankie Lam [mailto:frankie@ucr.com.hk] 
Sent: Tuesday, February 18, 2003 8:52 PM
To: Agrawal, Manish
Subject: Re: [INTERFACES] PgAdmin problem

Hello Manish,

try 'DROP VIEW "qMembers"'.

Unlike MySQL, Postgres fold all table and column names to lowercase except
if the identifier is enclosed in quotes then the case is preserved. But don
't get it wrong that PostgreSQL is a case insensitive, "SELECT 'apple'=
'Apple'" will still return a false value.

Thus it is possible to have three tables all named test but differing in
their case(not suggest you to do so):

"TEST"
"Test"
"test"

can all exist at the same time. However to reference TEST or Test
the identifier would need to be quoted (i.e. select * from "TEST").
All unquoted references are folded to lowercase.

Regards, Frankie

----- Original Message -----
From: "Agrawal, Manish" <MAgrawal@coba.usf.edu>
To: <pgsql-interfaces@postgresql.org>
Cc: <pgsql-cygwin@postgresql.org>
Sent: Wednesday, February 19, 2003 7:25 AM
Subject: [INTERFACES] PgAdmin problem


> I have a peculiar problem with PgAdmin. I converted an Access database
using
> pgMigration in pgadmin. I then created a view from within pgadmin.
>
>
>
> But though this view is available as an object in the pgsql database, I am
> unable to use it in an application. It also appears to be unavailable from
> psql.
>
> I have a link to a screenshot that shows what is happening. qMembers is
the
> view, I can see it by using \d in psql but I cannot drop the view.
>
>
>
> http://faculty94100.coba.usf.edu:8081/view_problem.bmp
> <http://faculty94100.coba.usf.edu:8081/view_problem.bmp>
>
>
>
> Can anyone help me with this issue. This problem is preventing me from
being
> able to use pgadmin to create views.
>
>
>
> Thanks
>
> Manish
>
> _________________________________
>
> Manish <http://coba.usf.edu/departments/isds/faculty/agrawal/index.html>
> Agrawal
>
> Asstt. Prof., Dept. of ISDS, Univ. of South Florida
>
> 4202 E. Fowler Ave., CIS 1040, Tampa, Fl 33620 - 7800
>
> (813)-974-6716 (W) 974-6749 (FAX)
>
> magrawal@coba.usf.edu <mailto:magrawal@coba.usf.edu>
>
> ______________________________________
>
> My default office suite is Openoffice <http://www.openoffice.org> , the
> simple-to-use, opensource Office Suite for Windows, Linux and Macs.
> http://www.openoffice.org <http://www.openoffice.org>
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


pgsql-interfaces by date:

Previous
From: Marcos Luiz Onisto
Date:
Subject: help me , please? any Hint, please?
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: PgAdmin problem