From: | Jonathan Chum <jchum(at)techdevelopers(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Two novice questions |
Date: | 2001-01-15 04:07:45 |
Message-ID: | 5.0.2.1.0.20010114230610.02ad7860@mail.bomb.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Thank you. I figured it out. However I still cannot drop the database, so
each time I want to start fresh/clean, I have to delete the tables and
sequences and then recreate the tables and sequences.
At 09:18 PM 1/14/2001 -0500, Tom Lane wrote:
>Jonathan Chum <jchum(at)techdevelopers(dot)com> writes:
> > PostgreSQL said: ERROR: DROP DATABASE: Database "blazeboard" is being
> > accessed by other users
>
>It's difficult to see how you could get this error unless there is at
>least one backend connected to the target database. Check for
>background processes you've forgotten about, etc etc.
>
> > My second question is that I have created a table with a column, FID.
> > However, when I SELECT FID FROM table, it will result:
>
> > blazeboard=# SELECT FID FROM forum;
> > ERROR: Attribute 'fid' not found
>
>What does "\d forum" show as the column name?
>
>If you created the table along the lines of
> create table forum ("FID" int, ...);
>then all subsequent references to that column name will have to be
>double-quoted as well. Unquoted names are implicitly folded to lower
>case ... quoted ones are not.
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Reyes | 2001-01-15 04:49:47 | Where docs on transactions? |
Previous Message | ashley | 2001-01-15 02:42:02 | starting postmaster |