1
0
Fork 0
mirror of https://git.postgresql.org/git/postgresql.git synced 2026-03-28 19:42:32 +01:00
This is the PostgreSQL git repository.
  • C 84.6%
  • PLpgSQL 6.2%
  • Perl 4.8%
  • Yacc 1.2%
  • Meson 0.7%
  • Other 2.4%
Find a file
Peter Eisentraut 10e4d8aaf4 Make cast functions from jsonb error safe
This adjusts cast functions from jsonb to other types to support soft
errors.  This just involves some refactoring of the underlying helper
functions to use ereturn.

This is in preparation for a future feature where conversion errors in
casts can be caught.

Author: jian he <jian.universality@gmail.com>
Reviewed-by: Amul Sul <sulamul@gmail.com>
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CADkLM%3Dfv1JfY4Ufa-jcwwNbjQixNViskQ8jZu3Tz_p656i_4hQ%40mail.gmail.com
2026-03-28 15:44:13 +01:00
.github
config Hardcode override of typeof_unqual for clang-for-bitcode 2026-03-16 19:24:49 +01:00
contrib Use UnlockReleaseBuffer() in more places 2026-03-27 15:56:29 -04:00
doc Doc: split functions-posix-regexp section into multiple subsections. 2026-03-27 17:41:08 -04:00
src Make cast functions from jsonb error safe 2026-03-28 15:44:13 +01:00
.cirrus.star
.cirrus.tasks.yml ci: Run headerscheck and cpluspluscheck in parallel 2026-03-23 08:40:29 +01:00
.cirrus.yml
.dir-locals.el
.editorconfig
.git-blame-ignore-revs Add commit 015d32016d to .git-blame-ignore-revs. 2026-03-19 13:45:07 +09:00
.gitattributes
.gitignore
.mailmap
aclocal.m4
configure Remove compiler warning option -Wendif-labels 2026-03-25 15:04:18 +01:00
configure.ac Remove compiler warning option -Wendif-labels 2026-03-25 15:04:18 +01:00
COPYRIGHT
GNUmakefile.in
HISTORY
Makefile
meson.build Enable warning like -Wstrict-prototypes on MSVC as well 2026-03-27 08:28:07 +01:00
meson_options.txt
README.md

PostgreSQL Database Management System

This directory contains the source code distribution of the PostgreSQL database management system.

PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. This distribution also contains C language bindings.

Copyright and license information can be found in the file COPYRIGHT.

General documentation about this version of PostgreSQL can be found at https://www.postgresql.org/docs/devel/. In particular, information about building PostgreSQL from the source code can be found at https://www.postgresql.org/docs/devel/installation.html.

The latest version of this software, and related software, may be obtained at https://www.postgresql.org/download/. For more information look at our web site located at https://www.postgresql.org/.