Re: parse error at or near "(" -- Huh???

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Alex Beamish <talexb(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: parse error at or near "(" -- Huh???
Date: 2004-12-13 02:18:00
Message-ID: 20041213021800.GB67661@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2004-12-13 02:45:49 Re: parse error at or near "(" -- Huh???
Previous Message Michael Fuhr 2004-12-13 02:12:11 Re: Insert successful but data not found