DateStyle setting not changing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 8.7k
- Forks
- 374
- Avg merge
- 11d 16h
- Merged PRs (30d)
- 1
Description
Hi,
When I set the connection parameter's DateStyle to UTC, YMD, and query show datestyle;, it shows that that DateStyle is still the default UTC, MDY. But if I put junk value into DateStyle, an error is thrown like below, meaning that the DateStyle parameter is being used.
PostgresError: invalid value for parameter "DateStyle": "joewnjioq1"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the connection parameter set to UTC, YMD, then run show datestyle; and compare it with the junk-value case described in the report. Done means the requested DateStyle value is preserved and reported by PostgreSQL instead of reverting to UTC, MDY.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, postgresql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100