postgresql/src/backend
Michael Paquier 617f9b7d4b Tighten unit parsing in internal values
Interval values now generate an error when the user has multiple
consecutive units or a unit without a value.  Previously, it was
possible to specify multiple units consecutively which is contrary to
what the documentation allows, so it was possible to finish with
confusing interval values.

This is a follow-up of the work done in 165d581f14.

Author: Joseph Koshakow
Reviewed-by: Jacob Champion, Gurjeet Singh, Reid Thompson
Discussion: https://postgr.es/m/CAAvxfHd-yNO+XYnUxL=GaNZ1n+eE0V-oE0+-cC1jdjdU0KS3iw@mail.gmail.com
2023-08-28 14:27:17 +09:00
..
access Fix _bt_allequalimage() call within critical section. 2023-08-23 18:12:41 +03:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
bootstrap Add const decorations 2023-08-23 06:39:39 +02:00
catalog Format list of catalog files in makefile vertically 2023-08-28 06:20:56 +02:00
commands Catalog not-null constraints 2023-08-25 13:31:24 +02:00
executor Fix RLS policy usage in MERGE. 2023-08-07 09:28:47 +01:00
foreign Expand some more uses of "deleg" to "delegation" or "delegated". 2023-05-21 10:55:18 -04:00
jit Remove duplicated assignment of LLVMJitHandle->lljit 2023-07-13 16:44:17 +09:00
lib Fix ILIST_DEBUG build 2023-01-18 10:26:15 -08:00
libpq Generate new LOG for "trust" connections under log_connections 2023-08-26 20:11:19 +09:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Catalog not-null constraints 2023-08-25 13:31:24 +02:00
optimizer Catalog not-null constraints 2023-08-25 13:31:24 +02:00
parser Show names of DEALLOCATE as constants in pg_stat_statements 2023-08-27 17:27:44 +09:00
partitioning Add missing ObjectIdGetDatum() in syscache lookup calls for Oids 2023-07-20 15:18:25 +09:00
po Translation updates 2023-08-07 12:39:30 +02:00
port Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
postmaster Use FD_CLOEXEC on ListenSockets 2023-08-24 17:03:05 +03:00
regex All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
replication Reset the logical worker type while cleaning up other worker info. 2023-08-25 08:57:55 +05:30
rewrite Fix RLS policy usage in MERGE. 2023-08-07 09:28:47 +01:00
snowball Fix the install rule for snowball_create.sql. 2023-05-23 11:15:57 -04:00
statistics Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
storage Rename hook functions for debug_io_direct to match variable name. 2023-08-24 22:25:49 +12:00
tcop Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
tsearch Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
utils Tighten unit parsing in internal values 2023-08-28 14:27:17 +09:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Add system view pg_wait_events 2023-08-20 15:35:02 +09:00
meson.build Add win32ver data to meson-built postgres.exe. 2023-06-12 07:40:38 -07:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00