You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SET TIME ZONE is not readable back under the spelling PostgreSQL pairs it with: SHOW TIME ZONE answers an empty string while SHOW timezone answers the value #8391
parseSetCommand() gained SET TIME ZONE <value>, PostgreSQL's SQL-standard spelling, normalizing it to the
parameter name timezone. SHOW was not given the matching normalization: queryCommand() lower-cases whatever
follows SHOW and hands it to PostgresSessionSettings.show(), which keys on "timezone" and falls through to
its default arm for "time zone". That arm answers an empty string for a name it does not know, so the two
spellings of the same parameter now disagree about a value the server really holds.
The same default arm is why the answer is an empty row rather than PostgreSQL's ERROR: unrecognized configuration parameter (42704), which is pre-existing and larger than this; what is new is
that a SET this server now honours has a documented read-back form that reports nothing.
and PostgresSessionSettings.show(), whose default arm answers "" for any name it does not know.
Repro
Simple protocol, one connection, against a server built at this HEAD (value of the single returned column shown):
SHOW timezone ==> UTC
SHOW TIME ZONE ==> (empty)
SET TIME ZONE 'Europe/Rome' ==> CommandComplete SET, ParameterStatus TimeZone=Europe/Rome
SHOW timezone ==> Europe/Rome
SHOW TIME ZONE ==> (empty) <- same parameter, other spelling
RESET timezone ==> ParameterStatus TimeZone=UTC
SHOW timezone ==> UTC
Suggested fix
Normalize the name in one place, next to the one parseSetCommand() already uses: fold TIME ZONE to timezone
(and, while there, SESSION AUTHORIZATION and the other multi-word spellings if they are ever accepted) before show() is asked, so a parameter is spelled the same way whichever statement names it. The pattern that does it
for SET is right there and can be shared.
Scope / confidence
Reproduced on the wire. Refuted that SHOW TIME ZONE might be rejected earlier as unparseable (it is not: it takes
the SHOW arm, builds a one-row result set under a column literally named time zone, and answers an empty
value, which a client reads as a successful answer).
Fixed in #8396 (26.10.1). SHOW TIME ZONE now returns the same value as SHOW timezone. RESET TIME ZONE, which was refused as malformed, now works too.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
Activity
Merge pull request #8396 from ArcadeData/fix/8391-8387-8386-8385-8384…
lvca commentedon Sep 25, 2026
Fixed in #8396 (26.10.1).
SHOW TIME ZONEnow returns the same value asSHOW timezone.RESET TIME ZONE, which was refused as malformed, now works too.❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
fix(ArcadeData#8391,ArcadeData#8387,ArcadeData#8386,ArcadeData#8385,A…