pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Alex Beamish <talexb@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: parse error at or near "(" -- Huh???
Date: Sun, 12 Dec 2004 19:18:00 -0700
Message-ID: <20041213021800.GB67661@winnie.fuhr.org> (raw)
In-Reply-To: <f9870c010412091219495dbb8e@mail.gmail.com>
References: <f9870c010412091219495dbb8e@mail.gmail.com>

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/



view thread (6+ messages)  latest in thread

Message-ID: <20041213021800.GB67661@winnie.fuhr.org>
Permalink:  ../20041213021800.GB67661@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20041213021800.GB67661@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, talexb@gmail.com
  Subject: Re: parse error at or near "(" -- Huh???
  In-Reply-To: <20041213021800.GB67661@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox