Skip site navigation (1) Skip section navigation (2)

Re: PgAdmin problem

From: "Agrawal, Manish" <MAgrawal(at)coba(dot)usf(dot)edu>
To: 'Frankie Lam' <frankie(at)ucr(dot)com(dot)hk>
Cc: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: PgAdmin problem
Date: 2003-02-19 13:49:59
Message-ID: 00A42578900AD411BCFD00A0C978DC9304DC020D@mail.coba.usf.edu (view raw or flat)
Thread:
Lists: 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(at)coba(dot)usf(dot)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(at)ucr(dot)com(dot)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(at)coba(dot)usf(dot)edu>
To: <pgsql-interfaces(at)postgresql(dot)org>
Cc: <pgsql-cygwin(at)postgresql(dot)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(at)coba(dot)usf(dot)edu <mailto:magrawal(at)coba(dot)usf(dot)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

Responses

pgsql-interfaces by date

Next:From: Nigel J. AndrewsDate: 2003-02-19 13:59:36
Subject: Re: PgAdmin problem
Previous:From: Marcos Luiz OnistoDate: 2003-02-19 13:07:18
Subject: help me , please? any Hint, please?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group