Re: where to add/change commands

From: NikhilS <nikkhils(at)gmail(dot)com>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: where to add/change commands
Date: 2007-03-15 10:46:21
Message-ID: d3c4af540703150346uc609f38uc04e00761cae4e3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

>
> psql? There's some code to detect commands that can't be run in a
> transaction block in src/bin/psql/common.c, maybe that's what you're
> looking for.
>
> Or did you mean something else? How doesn't it "pick it up"?

I think he probably meant that he was getting a syntax error, even after
making all the changes.

Grzegorz, I would have suggested to make an entry for VERBOSE in
parser/keywords.c, but it already seems to contain an entry for VERBOSE. I
hope you are using the "opt_verbose" rule in your gram.y in the CLUSTER
[VERBOSE] case.

Regards,
Nikhils

--
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Grzegorz Jaskiewicz 2007-03-15 10:52:09 Re: where to add/change commands
Previous Message Grzegorz Jaskiewicz 2007-03-15 10:40:51 Re: where to add/change commands