[PATCHES] psql: make \x affect normal queries only

2005-06-12 Thread Neil Conway
Per discussion on -hackers, this patch changes psql's expanded output mode to only affect the presentation of normal query results, not the output of psql slash commands. Documentation updated. I also made some unrelated minor psql cleanup. Barring any objections I'll apply this later today

[PATCHES] pl/pgsql dump tree cleanup

2005-06-12 Thread Neil Conway
This makes a few improvements to PL/PgSQL's ability to dump the parse tree of a compiled function (via #option dump, which is currently undocumented): - functions - function's - dump INTO target for EXECUTE - don't dump ELSE clause for IF statements if the ELSE is empty (since we have an

[PATCHES] plpgsql raise - parameters can be expressions

2005-06-12 Thread Pavel Stehule
Hello, I did trivial patch which eliminate limit raise command. Using expressions instead of variables are a little bit expensive, but little. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with

Re: [PATCHES] plpgsql raise - parameters can be expressions

2005-06-12 Thread Pavel Stehule
On Mon, 13 Jun 2005, Michael Glaesemann wrote: On Jun 13, 2005, at 2:07 PM, Pavel Stehule wrote: I did trivial patch which eliminate limit raise command. Using expressions instead of variables are a little bit expensive, but little. I'm right in thinking this essentially does