On Mar 15, 2007, at 11:36 AM, Heikki Linnakangas wrote:

Grzegorz Jaskiewicz wrote:
I am trying to make CLUSTER command just a bit verbose,as an option here. Added bits to gram.y that should support CLUSTER [VERBOSE] ... but psql doesn't seem to pick it up.

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.

meaning that if I type in "CLUSTER VERBOSE" in psql, I get syntax error.

Or did you mean something else? How doesn't it "pick it up"?

well, probably patch's worth 1000 words. Hope that attaching such small file isn't a crime in the neck'o'woods.

Attachment: clusterverbose.patch
Description: Binary data

Grzegorz Jaskiewicz

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to