Skip to content

Commit 12398ed

Browse files
committed
Merge tag 'REL_15_12' into yb-pg15
In this merge, - upstream refers to REL_15_12 - YB refers to yb-pg15 branch Conflicts resolved: - doc/src/sgml/config.sgml: - restrict_nonsystem_relation_kind: - YB 1594a0e cherry-picks a commit that is superseded by upstream 886549f. Take upstream. - src/backend/tcop/postgres.c: - check_restrict_nonsystem_relation_kind: - YB 1594a0e cherry-picks a commit that is superseded by upstream 4398507. Take upstream. - src/backend/utils/misc/guc.c: - restrict_nonsystem_relation_kind: - YB 1594a0e cherry-picks a commit that is superseded by upstream 886549f. Take upstream. - src/bin/pg_dump/pg_dump.c: - getPartitioningInfo: - YB 0873a75 cherry-picks a master commit that changes uses of dopt->schemaOnly to dopt->dumpData. Upstream 2b216da introduces a usage of dopt->schemaOnly. Change it to dopt->dumpData. - dumpCollation: - YB 4c1654b cherry-picks a commit that is superseded by upstream 3a78844. Take upstream. - src/common/jsonapi.c: - json_lex_string: - declarations: YB d939f91 adds a variable declaration; upstream 8c3f30e adds the same declaration in a different location. Take upstream. - else if (*s == '\\'): YB 98849c2 and d3117fc cherry-pick master commits that remove the "else if ((unsigned char) *s < 32)" case; upstream 11b5e3e changes code in the area to use FAIL_AT_CHAR_START. Take both. - src/interfaces/libpq/fe-exec.c: - PQescapeInternal: - YB 8e4de41 cherry-picks a commit that is superseded by upstream 22ffbbf. Take upstream. (There are two conflicts resolved for this same reason.) - src/test/modules/test_escape/test_escape.c: - includes: - YB 4c15b4f cherry-picks a commit that is superseded by upstream 22ffbbf. Take upstream. - elsewhere: - (Same reason x15.) - src/test/regress/expected/arrays.out: - test subscript overflow detection: - YB dfe4844 cherry-picks a commit that is superseded by upstream 547dd2c. Take upstream. - src/test/regress/parallel_schedule: - geometry depends on point, lseg, line, box, path, polygon, circle: - YB f885e22 add stats_import test; upstream 3c6becd adds database test. Take both in the same order as in master. - src/test/regress/sql/arrays.sql: - test subscript overflow detection: - (Same resolution as arrays.out.) - src/common/wchar.c: - In today's multibyte encodings other than UTF8: - Merge auto-resolved this area incorrectly to take both YB 48438ea and upstream 703b3fd. Take only one copy. Tested with ./configure --without-icu --enable-debug make check ( cd doc; make ) ( cd src/test/isolation; make check ) ( cd src/test/modules; make check ) ( cd contrib; make check )
2 parents b47a672 + 50d3d22 commit 12398ed

File tree

1,117 files changed

+147543
-81043
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,117 files changed

+147543
-81043
lines changed

.cirrus.star

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
"""Additional CI configuration, using the starlark language. See
2+
https://cirrus-ci.org/guide/programming-tasks/#introduction-into-starlark
3+
4+
See also the starlark specification at
5+
https://github.com/bazelbuild/starlark/blob/master/spec.md
6+
7+
See also .cirrus.yml and src/tools/ci/README
8+
"""
9+
10+
load("cirrus", "env", "fs")
11+
12+
13+
def main():
14+
"""The main function is executed by cirrus-ci after loading .cirrus.yml and can
15+
extend the CI definition further.
16+
17+
As documented in .cirrus.yml, the final CI configuration is composed of
18+
19+
1) the contents of .cirrus.yml
20+
21+
2) if defined, the contents of the file referenced by the, repository
22+
level, REPO_CI_CONFIG_GIT_URL variable (see
23+
https://cirrus-ci.org/guide/programming-tasks/#fs for the accepted
24+
format)
25+
26+
3) .cirrus.tasks.yml
27+
"""
28+
29+
output = ""
30+
31+
# 1) is evaluated implicitly
32+
33+
# Add 2)
34+
repo_config_url = env.get("REPO_CI_CONFIG_GIT_URL")
35+
if repo_config_url != None:
36+
print("loading additional configuration from \"{}\"".format(repo_config_url))
37+
output += config_from(repo_config_url)
38+
else:
39+
output += "\n# REPO_CI_CONFIG_URL was not set\n"
40+
41+
# Add 3)
42+
output += config_from(".cirrus.tasks.yml")
43+
44+
return output
45+
46+
47+
def config_from(config_src):
48+
"""return contents of config file `config_src`, surrounded by markers
49+
indicating start / end of the the included file
50+
"""
51+
52+
config_contents = fs.read(config_src)
53+
config_fmt = """
54+
55+
###
56+
# contents of config file `{0}` start here
57+
###
58+
{1}
59+
###
60+
# contents of config file `{0}` end here
61+
###
62+
"""
63+
return config_fmt.format(config_src, config_contents)

0 commit comments

Comments
 (0)