Thread: Parser change needed?

Parser change needed?

From
Thomas Hallgren
Date:
Yes, this is another vain attempt to get some attention to the custom 
config variables patch that I've submitted (twice) :-)

But it's also a relevant question.

Given that the design is accepted and a custom variable will use 
qualified names I'd propose a change to the SQL parser so that the names  doesn't need to be quoted in the SET and SHOW
commands.Today one must 
 
write:
   SET "pljava.vmoptions" TO '-Xmx128M'

I think it would be more clean if one could write:
   SET pljava.vmoptions TO '-Xmx128M'

What's your thoughts?

Kind regards,

Thomas Hallgren



Re: Parser change needed?

From
Christopher Kings-Lynne
Date:
Hi Thomas,

Please don't get too disheartened that a developer hasn't commented on 
your stuff yet.  Everyone's very busy at the moment.  Just hang in there!

Chris

Thomas Hallgren wrote:

> Yes, this is another vain attempt to get some attention to the custom 
> config variables patch that I've submitted (twice) :-)
> 
> But it's also a relevant question.
> 
> Given that the design is accepted and a custom variable will use 
> qualified names I'd propose a change to the SQL parser so that the names 
>  doesn't need to be quoted in the SET and SHOW commands. Today one must 
> write:
> 
>    SET "pljava.vmoptions" TO '-Xmx128M'
> 
> I think it would be more clean if one could write:
> 
>    SET pljava.vmoptions TO '-Xmx128M'
> 
> What's your thoughts?
> 
> Kind regards,
> 
> Thomas Hallgren
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)