Re: Real newbie question. - Mailing list pgsql-general

From Evan Zane Macosko
Subject Re: Real newbie question.
Date
Msg-id Pine.OSF.4.33.0108201133260.26126-100000@is08.fas.harvard.edu
Whole thread Raw
In response to Real newbie question.  ("William D. Tallman" <wtallman@olypen.com>)
List pgsql-general
When the prompt changes from an equals sign to a single dash, it means
you have not finished an SQL statement, pgsql is waiting for a semicolon.
A single quote can mean that you didn't close your single quotation, for
example:

UPDATE foo SET column = 'Thursday

If you press return here, psql will be waiting for you to close the
quotation.

Hope this helps.



On Thu, 16 Aug 2001, William D. Tallman wrote:

> Just started fiddling with PostgreSQL, and know nothing of databases.
>
> I have the documentation that came with the Mandrake-8.0 installation
> written by Thomas Lockhard, and I've perused Bruce Momjian's book online,
> and I cannot find the answer to this problem:
>
> When I am entering values into a table, and make a mistake, sometimes
> there is an error message, and sometimes the equal sign in the prompt
> becomes a single quote.  Error messages I can puzzle out, but I have not
> discovered how to recover from the single quote in the prompt.  I wind up
> having to kill the terminal and start all over
>
> Can someone point me to the explanation of this?
>
> Thanks, and I hope this question isn't too rudimentary for this NG.
>
> Bill Tallman
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


pgsql-general by date:

Previous
From: Evan Zane Macosko
Date:
Subject: DBI placeholders
Next
From: "Mitch Vincent"
Date:
Subject: Re: Overwriting Operator for numeric and float8 fails