pl/pgsql dump tree cleanup

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: pl/pgsql dump tree cleanup
Date: 2005-06-13 04:15:34
Message-ID: 42AD0866.5080103@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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 explicit END IF, this shouldn't be ambiguous)

- minor tweak to RAISE dump format

Barring any objections I'll apply this later today or tomorrow.

-Neil

Attachment Content-Type Size
plpgsql_dump_tree_cleanup-2.patch text/x-patch 2.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-06-13 04:31:02 Re: BUG #1707: statistics collector starts with stats_start_collector
Previous Message Tom Lane 2005-06-13 03:34:09 Re: BUG #1707: statistics collector starts with stats_start_collector = false