You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
a3d6264bbc
interval_out() must be marked STABLE, not IMMUTABLE.
...
Its results vary depending on the IntervalStyle GUC, so it cannot
be considered immutable.
This is an extremely ancient bug. AFAICT it was a sloppy mistake
in 6f58115dd , which marked it "cacheable" alongside marking several
other interval functions that way. At the time, interval_out()
depended on DateStyle not IntervalStyle, but it was still wrong.
Back-patching this change doesn't look very practical, so I won't.
Aside from the usual difficulties of getting catalog changes
applied to existing databases, people might have indexes,
generated columns, etc that depend on interval-to-text casts
being considered immutable. (This'd not really give them any
problem as long as they never change IntervalStyle.) They
wouldn't appreciate us breaking such usage in minor releases.
Per bug #17371 from Marcus Gartner.
Discussion: https://postgr.es/m/17371-8f57e6e9ca5e35bf@postgresql.org
4 years ago
..
access
Update copyright for 2022
4 years ago
bootstrap
Update copyright for 2022
4 years ago
catalog
interval_out() must be marked STABLE, not IMMUTABLE.
4 years ago
commands
Add stxdinherit flag to pg_statistic_ext_data
4 years ago
common
Improve error handling of HMAC computations
4 years ago
datatype
Update copyright for 2022
4 years ago
executor
Update copyright for 2022
4 years ago
fe_utils
Update copyright for 2022
4 years ago
foreign
Update copyright for 2022
4 years ago
jit
Update copyright for 2022
4 years ago
lib
Update copyright for 2022
4 years ago
libpq
Improve error handling of cryptohash computations
4 years ago
mb
Update copyright for 2022
4 years ago
nodes
Add Boolean node
4 years ago
optimizer
Update copyright for 2022
4 years ago
parser
Update copyright for 2022
4 years ago
partitioning
Update copyright for 2022
4 years ago
port
Add missing include guard to win32ntdll.h.
4 years ago
portability
Update copyright for 2022
4 years ago
postmaster
Introduce log_destination=jsonlog
4 years ago
regex
Update copyright for 2022
4 years ago
replication
Modify pg_basebackup to use a new COPY subprotocol for base backups.
4 years ago
rewrite
Update copyright for 2022
4 years ago
snowball
Update copyright for 2022
4 years ago
statistics
Add stxdinherit flag to pg_statistic_ext_data
4 years ago
storage
Update copyright for 2022
4 years ago
tcop
Update copyright for 2022
4 years ago
tsearch
Update copyright for 2022
4 years ago
utils
Introduce log_destination=jsonlog
4 years ago
.gitignore
…
Makefile
Build in some knowledge about foreign-key relationships in the catalogs.
5 years ago
c.h
Update copyright for 2022
4 years ago
fmgr.h
Update copyright for 2022
4 years ago
funcapi.h
Update copyright for 2022
4 years ago
getaddrinfo.h
Update copyright for 2022
4 years ago
getopt_long.h
Update copyright for 2022
4 years ago
miscadmin.h
Update copyright for 2022
4 years ago
pg_config.h.in
Make EXEC_BACKEND more convenient on Linux and FreeBSD.
4 years ago
pg_config_ext.h.in
…
pg_config_manual.h
Update copyright for 2022
4 years ago
pg_getopt.h
Update copyright for 2022
4 years ago
pg_trace.h
Update copyright for 2022
4 years ago
pgstat.h
Update copyright for 2022
4 years ago
pgtar.h
Update copyright for 2022
4 years ago
pgtime.h
Update copyright for 2022
4 years ago
port.h
Clean up messy API for src/port/thread.c.
4 years ago
postgres.h
Update copyright for 2022
4 years ago
postgres_ext.h
…
postgres_fe.h
Update copyright for 2022
4 years ago
rusagestub.h
Update copyright for 2022
4 years ago
windowapi.h
Update copyright for 2022
4 years ago