Re: Postgresql and scripting [SOLVED] - Mailing list pgsql-general

From Ben
Subject Re: Postgresql and scripting [SOLVED]
Date
Msg-id Pine.LNX.4.44.0409081205100.14155-100000@localhost.localdomain
Whole thread Raw
In response to Re: Postgresql and scripting [SOLVED]  (Jerome Lyles <susemail@hawaii.rr.com>)
List pgsql-general
Dunno about your version of psql, but in mine, the "-#" prompt means that
you haven't finished your statement yet. "=#" means psql is ready to start
accepting a new statement.

On Wed, 8 Sep 2004, Jerome Lyles wrote:

> On Wednesday 08 September 2004 02:44 am, tsarevich@gmail.com wrote:
> > Use timestamp instead of datetime.
> >
> > Where you have "REFERENCE", use "REFERENCES"
> >
> Thank you tsarevich that solved it.  I'm trying to 'SELECT' out of the tables
> now but I'm getting another syntax error:-)
>
> test-# SELECT prod_name FROM Products;
> ERROR:  syntax error at or near "SELECT" at character 14
>
> What is this error?
> Thanks,
> Jerome
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>



pgsql-general by date:

Previous
From: Ron St-Pierre
Date:
Subject: Re: Returning multiple values (but one row) in plpgsql
Next
From: Arthur Hoogervorst
Date:
Subject: Re: Returning multiple values (but one row) in plpgsql