Re: RESET command seems pretty disjointed now - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RESET command seems pretty disjointed now
Date
Msg-id 11931.1176765344@sss.pgh.pa.us
Whole thread Raw
In response to Re: RESET command seems pretty disjointed now  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: RESET command seems pretty disjointed now
Re: RESET command seems pretty disjointed now
List pgsql-hackers
Mark Kirkwood <markir@paradise.net.nz> writes:
> Tom Lane wrote:
>> The current documentation for RESET exhibits a certain lack of, um,
>> intellectual cohesiveness:
>> 
>> Synopsis
>> 
>> RESET configuration_parameter
>> RESET ALL
>> RESET { PLANS | SESSION | TEMP | TEMPORARY }

> Maybe DISCARD for the plans etc might be more intuitive than extending 
> RESET?

DISCARD PLANS and DISCARD TEMP seem pretty reasonable, but DISCARD SESSION
sounds a bit odd --- it seems like it might mean "disconnect", which of
course is exactly what we're trying to avoid.  But possibly we could
rename RESET SESSION as DISCARD ALL.

Leastwise I haven't got any better ideas.  Anyone have another proposal?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: [RFC] PostgreSQL Access Control Extension (PGACE)
Next
From: Aidan Van Dyk
Date:
Subject: Re: Hacking on PostgreSQL via GIT