Re: psql variables

From: Neil Conway <neilc(at)samurai(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql variables
Date: 2004-02-09 14:58:12
Message-ID: 87k72w47wb.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Neil Conway wrote:
>> Recently, I was surprised to learn that psql variables are case
>> sensitive.
>
> like shell variables

What relevance does that have? Shell variables may or may not share
the same design flaws that psql variables do, but I don't see that as
a justification for not changing or improving the current behavior of
psql variables.

Perhaps you're suggesting shell variables were used as the design
model for psql's variables (although I can't be sure, you didn't
elaborate). If so, what I'm saying is that this model is not very
friendly for setting psql-internal options, and we'd be better
changing it as I've elaborated on elsewhere. Do you agree?

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-02-09 15:30:13 Re: Transaction aborts on syntax error.
Previous Message Keith Bottner 2004-02-09 14:53:01 Re: RFC: Very large scale postgres support