Re: parse error at or near "(" -- Huh??? - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: parse error at or near "(" -- Huh???
Date
Msg-id 20041213021800.GB67661@winnie.fuhr.org
Whole thread Raw
In response to parse error at or near "(" -- Huh???  (Alex Beamish <talexb@gmail.com>)
Responses Re: parse error at or near "(" -- Huh???
List pgsql-sql
On Thu, Dec 09, 2004 at 03:19:56PM -0500, Alex Beamish wrote:

> I'm getting a frustrating error
> 
>   ERROR:  parser: parse error at or near "(" at character 201
> 
> in a CREATE TABLE statement from an SQL script that I'm running from
> within a Perl script. When I run the same script from the command
> line, either as a regular user or as root, it works fine.

Your SQL statements ran fine for me, so please show us a small but
complete Perl script that duplicates the problem.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Insert successful but data not found
Next
From: Tom Lane
Date:
Subject: Re: parse error at or near "(" -- Huh???