From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: SET SESSION CHARACTERISTICS |
Date: | 2000-11-21 16:44:16 |
Message-ID: | 3A1AA660.43D32BBF@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > > SET SESSION CHARACTERISTICS AS parameter value
> > > is really a more SQL'ish form of the current
> > > SET parameter =/TO value
> > > Perhaps they should be made equivalent, in order to avoid too many subtly
> > > different subversions of the 'SET' command.
> > Hmm. What do you mean by "equivalent"?
> That they have the same effect when invoked.
OK.
> > I assumed that the incredibly
> > verbose SQL99 form is not particularly gratifying to type, and that we
> > would be interested in a shorter version of the same thing.
> Definitely. But it would also be nice if we didn't have too many SET
> commands that have intersecting functionality but where it's not quite
> clear which controls what. Given that our custom short SET variant does
> effectively control "session characteristics" it only seemed logical to me
> that we could map it to the more SQL'ish variant.
Sure.
> > So I kept the original syntax and just added the statements that SQL99
> > calls out explictly.
> Then I don't know where you got the TRANSACTION COMMIT and TIME ZONE
> clauses from. SQL 99 doesn't have the former anywhere, and the latter
> only as 'SET TIME ZONE' which we have already.
OK, so maybe my recollection is not very good...
> > Also, our "SET" syntax has lots more keywords than specified in
> > SQL99...
> Hmm, is it your argument that we should keep our custom parameters in our
> custom command in order to avoid conflicts with future standards? Maybe
> so, but then we already lose.
Well, no argument really ;)
I put the SET SESSION CHARACTERISTICS in as a start at the SQL99-defined
functionality. Now would be a good time to make it right.
- Thomas
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Uckun | 2000-11-21 16:44:47 | Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL |
Previous Message | Philip Hallstrom | 2000-11-21 16:41:04 | Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL |