Skip to content

Update upstream #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3,809 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3809 commits
Select commit Hold shift + click to select a range
2036f71
Fix typo in v10 release notes
alvherre Jul 13, 2017
a3ca72a
Fix dumping of FUNCTION RTEs that contain non-function-call expressions.
tglsfdc Jul 13, 2017
8046465
Fix pg_basebackup output to stdout on Windows.
hlinnaka Jul 14, 2017
c95275f
Fix broken link-command-line ordering for libpgfeutils.
tglsfdc Jul 14, 2017
decb08e
Code review for NextValueExpr expression node type.
tglsfdc Jul 14, 2017
837255c
pg_upgrade i18n: Fix "%s server/cluster" wording
alvherre Jul 14, 2017
e9b6482
Improve comments for execExpr.c's isAssignmentIndirectionExpr().
tglsfdc Jul 15, 2017
de2af6e
Improve comments for execExpr.c's handling of FieldStore subexpressions.
tglsfdc Jul 15, 2017
fd2487e
Fix vcregress.pl PROVE_FLAGS bug in commit 93b7d9731f
adunstan Jul 16, 2017
deb0129
fix typo
adunstan Jul 16, 2017
2f7f45a
MSVC: Don't link libpgcommon into pgcrypto.
nmisch Jul 17, 2017
09c2e7c
hash: Fix write-ahead logging bugs related to init forks.
robertmhaas Jul 17, 2017
6c6970a
Use usleep instead of select for timeouts in PostgresNode.pm
adunstan Jul 17, 2017
a570fea
Merge large_object.sql test into largeobject.source.
tglsfdc Jul 17, 2017
cde11fa
Improve legibility of numeric literal
adunstan Jul 17, 2017
5334633
Doc: explain dollar quoting in the intro part of the pl/pgsql chapter.
tglsfdc Jul 17, 2017
f81a91d
Use a real RT index when setting up partition tuple routing.
robertmhaas Jul 18, 2017
c85ec64
Reverse-convert row types in ExecWithCheckOptions.
robertmhaas Jul 18, 2017
fb9bd4b
Doc: fix thinko in v10 release notes.
tglsfdc Jul 18, 2017
b4c6d31
Fix serious performance problems in json(b) to_tsvector().
tglsfdc Jul 18, 2017
04a2c7f
Improve make_tsvector() to handle empty input, and simplify its callers.
tglsfdc Jul 18, 2017
5752dcd
Doc: add missing note about permissions needed to change log_lock_waits.
tglsfdc Jul 19, 2017
3cb29c4
Add static assertions about pg_control fitting into one disk sector.
tglsfdc Jul 19, 2017
eb145fd
Fix dumping of outer joins with empty qual lists.
tglsfdc Jul 20, 2017
ed3dc22
Doc: clarify description of degenerate NATURAL joins.
tglsfdc Jul 20, 2017
866f4a7
In v10 release notes, call out sequence changes as a compatibility item.
tglsfdc Jul 20, 2017
d363d42
Use MINVALUE/MAXVALUE instead of UNBOUNDED for range partition bounds.
deanrasheed Jul 21, 2017
68f785f
Make the new partition regression tests locale-independent.
deanrasheed Jul 21, 2017
7e1fb4c
Fix double shared memory allocation.
feodor Jul 21, 2017
8bf58c0
Re-establish postgres_fdw connections after server or user mapping ch…
tglsfdc Jul 21, 2017
063ff92
pg_rewind: Fix busted sanity check.
robertmhaas Jul 21, 2017
88f48b5
Stabilize postgres_fdw regression tests.
tglsfdc Jul 21, 2017
a46fe6e
pg_rewind: Fix some problems when copying files >2GB.
robertmhaas Jul 21, 2017
e22efaa
Doc: update versioning information in libpq.sgml.
tglsfdc Jul 21, 2017
de38489
Fix typo in comment
alvherre Jul 17, 2017
991c8b0
Update expected results for collate.linux.utf8 regression test.
tglsfdc Jul 22, 2017
ab2324f
Improve comments about partitioned hash table freelists.
tglsfdc Jul 22, 2017
93f039b
Fix pg_dump's handling of event triggers.
tglsfdc Jul 23, 2017
71ad800
MSVC: Accept tcl86.lib in addition to tcl86t.lib.
nmisch Jul 24, 2017
bbbd912
MSVC: Finish clean.bat build artifact coverage.
nmisch Jul 24, 2017
278cb43
Be more consistent about errors for opfamily member lookup failures.
tglsfdc Jul 24, 2017
b4af9e3
Ensure that pg_get_ruledef()'s output matches pg_get_viewdef()'s.
tglsfdc Jul 24, 2017
7086be6
When WCOs are present, disable direct foreign table modification.
robertmhaas Jul 24, 2017
e2c8100
Fix race condition in predicate-lock init code in EXEC_BACKEND builds.
tglsfdc Jul 24, 2017
4132dbe
Fix partitioning crashes during error reporting.
robertmhaas Jul 24, 2017
9915de6
Fix race conditions in replication slot operations
alvherre Jul 25, 2017
54dacc7
Make PostgresNode easily subclassable
alvherre Jul 25, 2017
c28e4f4
Remove obsolete comments about functional dependencies
alvherre Jul 26, 2017
459c64d
Fix concurrent locking of tuple update chain
alvherre Jul 26, 2017
5e3254f
Update copyright in recently added files
alvherre Jul 26, 2017
50d2426
Clean up SQL emitted by psql/describe.c.
tglsfdc Jul 26, 2017
efd7f8e
Work around Msys weakness in Testlib.pm's command_like()
adunstan Jul 26, 2017
dc4da3d
Fix very minor memory leaks in psql's command.c.
tglsfdc Jul 27, 2017
b884f62
Sync listDbRoleSettings() with the rest of the world.
tglsfdc Jul 27, 2017
1e2f941
Avoid use of sprintf/snprintf in describe.c.
tglsfdc Jul 27, 2017
77cb4a1
Standardize describe.c's behavior for no-matching-objects a bit more.
tglsfdc Jul 27, 2017
8d30407
Fix psql tab completion for CREATE USER MAPPING.
tglsfdc Jul 27, 2017
bebe174
PL/Perl portability fix: avoid including XSUB.h in plperl.c.
tglsfdc Jul 28, 2017
3c163a7
PL/Perl portability fix: absorb relevant -D switches from Perl.
tglsfdc Jul 28, 2017
9dea962
Include publication owner's name in the output of \dRp+.
tglsfdc Jul 28, 2017
d47cfef
Move interrupt checking from ExecProcNode() to executor nodes.
anarazel Jul 26, 2017
cc9f08b
Move ExecProcNode from dispatch to function pointer based model.
anarazel Jul 17, 2017
9fe6309
Add missing comment in postgresql.conf.
tatsuo-ishii Jul 31, 2017
8b015dd
Add missing comment in postgresql.conf.
tatsuo-ishii Jul 31, 2017
393d47e
Add missing comment in postgresql.conf.
tatsuo-ishii Jul 31, 2017
d2a51e3
Fix function comment for dumpACL()
sfrost Jul 31, 2017
b4cc35f
Tighten coding for non-composite case in plperl's return_next.
tglsfdc Jul 31, 2017
40b9f19
Record full paths of programs sought by "configure".
tglsfdc Jul 31, 2017
dea6ba9
Doc: specify that the minimum supported version of Perl is 5.8.3.
tglsfdc Jul 31, 2017
c0a15e0
Always use 2048 bit DH parameters for OpenSSL ephemeral DH ciphers.
hlinnaka Jul 31, 2017
4427b51
Doc: add v10 release notes entries for the DH parameter changes.
hlinnaka Jul 31, 2017
f40254a
Fix typo
petere Jul 31, 2017
0b02e3f
Fix typo
petere Jul 31, 2017
e662ef0
Fix comment.
tatsuo-ishii Jul 31, 2017
4de6216
Comment fix for partition_rbound_cmp().
deanrasheed Aug 1, 2017
b21c569
Further improve consistency of configure's program searching.
tglsfdc Aug 1, 2017
f972565
Allow creation of C/POSIX collations without depending on libc behavior.
tglsfdc Aug 1, 2017
c1bb787
doc: Fix typo
petere Aug 1, 2017
1e165d0
Try to deliver a sane message for _create_locale() failure on Windows.
tglsfdc Aug 1, 2017
8e75372
Suppress less info in regression tests using DROP CASCADE.
tglsfdc Aug 1, 2017
514f613
Second try at getting useful errors out of newlocale/_create_locale.
tglsfdc Aug 1, 2017
32ca22b
Revert test case added by commit 1e165d05fe06a9072867607886f818bc2555…
tglsfdc Aug 2, 2017
41cefbb
Fix OBJECT_TYPE/OBJECT_DOMAIN confusion
petere Aug 2, 2017
f352f91
Remove duplicate setting of SSL_OP_SINGLE_DH_USE option.
tglsfdc Aug 2, 2017
cf65201
Get a snapshot before COPY in table sync
petere Aug 2, 2017
9d4e566
Remove broken and useless entry-count printing in HASH_DEBUG code.
tglsfdc Aug 2, 2017
8021515
Add pgtcl back to the list of externally-maintained client interfaces.
tglsfdc Aug 2, 2017
4d57e83
Fix pg_dump's errno checking for zlib I/O
alvherre Aug 2, 2017
5ff3d73
Add new files to nls.mk and add translation markers
petere Aug 3, 2017
610e8eb
Teach map_partition_varattnos to handle whole-row expressions.
robertmhaas Aug 3, 2017
12a34f5
Improve ExecModifyTable comments.
robertmhaas Aug 3, 2017
86705aa
Allow a foreign table CHECK constraint to be initially NOT VALID.
robertmhaas Aug 3, 2017
583df3b
Code beautification for ATExecAttachPartition.
robertmhaas Aug 3, 2017
972b6ec
Fix lock upgrade hazard in ATExecAttachPartition.
robertmhaas Aug 3, 2017
9a3b5d3
Fix build on zlib-less environments
alvherre Aug 3, 2017
3eb9a5e
Fix pg_dump/pg_restore to emit REFRESH MATERIALIZED VIEW commands last.
tglsfdc Aug 3, 2017
b374481
Further unify ROLE and USER command grammar rules
petere Aug 1, 2017
97d3a0b
Disallow SSL session tickets.
tglsfdc Aug 4, 2017
c30f177
Apply ALTER ... SET NOT NULL recursively in ALTER ... ADD PRIMARY KEY.
tglsfdc Aug 4, 2017
620b49a
hash: Increase the number of possible overflow bitmaps by 8x.
robertmhaas Aug 4, 2017
26d40ad
Message style improvements
petere Aug 4, 2017
03378c4
First-draft release notes for 9.6.4.
tglsfdc Aug 4, 2017
ff98a5e
hash: Immediately after a bucket split, try to clean the old bucket.
robertmhaas Aug 4, 2017
7e174fa
Only kill sync workers at commit time in subscription DDL
petere Aug 5, 2017
f85f88b
Fix bug in deciding whether to scan newly-attached partition.
robertmhaas Aug 5, 2017
eccead9
Add support for ICU 4.2
petere Aug 1, 2017
52f8a59
Make pg_stop_backup's wait_for_archive flag work on standbys.
robertmhaas Aug 5, 2017
f4f41ba
Improve configure's check for ICU presence.
tglsfdc Aug 5, 2017
e9f4ac1
Suppress unused-variable warnings when building with ICU 4.2.
tglsfdc Aug 5, 2017
dd2358a
Doc: update v10 release notes through today.
tglsfdc Aug 5, 2017
0d1f98b
Add regression test for wide REPLICA IDENTITY FULL updates.
anarazel Aug 5, 2017
5af4456
Fix thinko introduced in 2bef06d516460 et al.
anarazel Aug 6, 2017
b35006e
Release notes for 9.6.4, 9.5.8, 9.4.13, 9.3.18, 9.2.22.
tglsfdc Aug 6, 2017
655727d
Update RELEASE_CHANGES' example of branch name format.
tglsfdc Aug 7, 2017
6f81306
Downgrade subscription refresh messages to DEBUG1
petere Aug 7, 2017
ad2ca3c
Improve wording of subscription refresh debug messages
petere Aug 7, 2017
86524f0
Fix function name in code comment
petere Aug 7, 2017
bf6b9e9
Don't allow logging in with empty password.
hlinnaka Aug 7, 2017
e568e1e
Again match pg_user_mappings to information_schema.user_mapping_options.
nmisch Aug 7, 2017
8d98819
Require update permission for the large object written by lo_put().
tglsfdc Aug 7, 2017
0e58455
Fix handling of dropped columns in logical replication
petere Aug 7, 2017
fca17a9
Fix local/remote attribute mix-up in logical replication
petere Aug 7, 2017
a8b37eb
Last-minute updates for release notes.
tglsfdc Aug 7, 2017
f7668b2
Translation updates
petere Aug 7, 2017
cdc47d1
Update SQL features list
petere Aug 7, 2017
8014d2a
Skip test for IPC::Run if user is overriding our search for PROVE.
tglsfdc Aug 7, 2017
8d64423
Stamp 10beta3.
tglsfdc Aug 7, 2017
b4a2eea
Disclaim xmltable() support for non-UTF8 databases.
nmisch Aug 8, 2017
030273b
Fix inadequacies in recently added wait events
alvherre Aug 8, 2017
b2c95a3
Fix replication origin-related race conditions
alvherre Aug 8, 2017
4576a69
Fix yet another race condition in recovery/t/001_stream_rep.pl.
tglsfdc Aug 8, 2017
f5d54ef
Fix typo in comment
alvherre Aug 8, 2017
77d2c00
Reword some unclear comments
alvherre Aug 8, 2017
9bf4068
Fix datumSerialize infrastructure to not crash on non-varlena data.
tglsfdc Aug 8, 2017
13f03a0
doc: Add missing pieces to logical replication protocol doc
petere Aug 8, 2017
a76200d
Prevent passing down MAKELEVEL/MAKEFLAGS from non-GNU make to GNU make.
tglsfdc Aug 9, 2017
749c7c4
Fix handling of container types in find_composite_type_dependencies.
tglsfdc Aug 9, 2017
ec99dd5
Remove incorrect assertion in clog.c
robertmhaas Aug 10, 2017
0b7ba3d
pgstatindex: Insert some casts to prevent overflow.
robertmhaas Aug 10, 2017
e694010
Fix typo in comment.
robertmhaas Aug 10, 2017
c1ef4e5
Make some more improvements to parallel query documentation.
robertmhaas Aug 10, 2017
bb5d6e8
Improve the error message when creating an empty range partition.
robertmhaas Aug 10, 2017
b83e545
Fix order of ICU_CFLAGS
petere Aug 10, 2017
d6391b0
Reject use of ucol_strcollUTF8() before ICU 53
petere Aug 10, 2017
a1ef920
Remove uses of "slave" in replication contexts
petere Aug 7, 2017
7968184
Remove pgbench's restriction on placement of -M switch.
tglsfdc Aug 11, 2017
d4ede66
pg_upgrade: Clarify one message
petere Aug 11, 2017
22701a7
doc: Small wording improvement
petere Aug 11, 2017
fa65c8c
doc: Update description of rolreplication column
petere Aug 11, 2017
ee844bb
doc: Add example for inet vs cidr difference
petere Aug 11, 2017
6efca23
Add regression tests exercising the non-hashed code paths in nodeSeto…
tglsfdc Aug 11, 2017
3c8de95
Add regression tests exercising more code paths in nodeLimit.c.
tglsfdc Aug 11, 2017
d6ecad8
Be more thorough about cleaning out gcov litter.
tglsfdc Aug 11, 2017
3043c1d
Simplify fetch-slot-xmins logic in recovery TAP tests.
tglsfdc Aug 12, 2017
e88928c
Fix vertical spanning in table "wait_event Description".
nmisch Aug 13, 2017
2336f84
Reword comment for clarity
alvherre Aug 13, 2017
004a970
Remove AtEOXact_CatCache().
tglsfdc Aug 13, 2017
ea0ca75
Changed ecpg parser to allow RETURNING clauses without attached C var…
Aug 14, 2017
5a5c2fe
Absorb -D_USE_32BIT_TIME_T switch from Perl, if relevant.
tglsfdc Aug 14, 2017
79e5de6
doc: Fix logical replication protocol doc detail
petere Aug 14, 2017
7f1bb1d
Fix typo
petere Aug 14, 2017
5b6289c
Handle elog(FATAL) during ROLLBACK more robustly.
tglsfdc Aug 14, 2017
21d304d
Final pgindent + perltidy run for v10.
tglsfdc Aug 14, 2017
9f14dc3
Stamp HEAD as 11devel.
tglsfdc Aug 14, 2017
d2bc501
Expand coverage of parallel gather merge a bit.
anarazel Aug 14, 2017
23d7680
pg_dump: Add a --load-via-partition-root option.
robertmhaas Aug 15, 2017
1295a77
Add missing call to ExecReScanGatherMerge.
robertmhaas Aug 15, 2017
d57929a
Avoid unnecessary single-child Append nodes.
robertmhaas Aug 15, 2017
480f1f4
Teach adjust_appendrel_attrs(_multilevel) to do multiple translations.
robertmhaas Aug 15, 2017
f3a4d7e
Distinguish wait-for-connection from wait-for-write-ready on Windows.
tglsfdc Aug 15, 2017
a4619b2
Allow continuation lines in ecpg cppline parsing.
Aug 15, 2017
00418c6
Simplify plpgsql's check for simple expressions.
tglsfdc Aug 15, 2017
e139f19
Assorted preparatory refactoring for partition-wise join.
robertmhaas Aug 15, 2017
d9a622c
Fix error handling path in autovacuum launcher
alvherre Aug 15, 2017
4867d7f
Avoid out-of-memory in a hash join with many duplicate inner keys.
tglsfdc Aug 15, 2017
270fec9
doc: Improve PDF bookmarks
petere Aug 15, 2017
e42351a
Simplify some code in logical replication launcher
petere Aug 15, 2017
34a23a3
doc: Add missing logical replication protocol message
petere Aug 15, 2017
70b573b
Fix logical replication protocol comparison logic
petere Aug 15, 2017
b73f1b5
Make simpler-simple-expressions code cope with a Gather plan.
tglsfdc Aug 15, 2017
31ae163
Simplify autovacuum work-item implementation
alvherre Aug 15, 2017
0f0ee68
psql: Add tab completion for \pset pager
petere Aug 15, 2017
0659465
Include foreign tables in information_schema.table_privileges
petere Aug 15, 2017
514731a
pg_receivewal: Improve verbose mode
petere Aug 16, 2017
0a2d43d
doc: Document pg_receivewal exit behavior and status
petere Aug 16, 2017
4d4c891
Initialize replication_slot_catalog_xmin in procarray
petere Aug 16, 2017
77d0570
Fix up some misusage of appendStringInfo() and friends
petere Aug 16, 2017
0c504a8
Remove dedicated B-tree root-split record types.
hlinnaka Aug 16, 2017
3cda10f
Use atomic ops to hand out pages to scan in parallel scan.
hlinnaka Aug 16, 2017
9b5140f
Correct representation of foreign tables in information schema
petere Aug 16, 2017
346d5bf
doc: Add logical replication to comparison matrix
petere Aug 16, 2017
4395f7d
doc: Update URL of DocBook XSL stylesheets
petere Aug 16, 2017
ac883ac
Fix shm_toc.c to always return buffer-aligned memory.
hlinnaka Aug 16, 2017
2b74303
Make the planner assume that the entries in a VALUES list are distinct.
tglsfdc Aug 16, 2017
ec0a69e
Extend the default rules file for contrib/unaccent with Vietnamese le…
tglsfdc Aug 16, 2017
dcd052c
Fix pg_atomic_u64 initialization.
hlinnaka Aug 16, 2017
cf85151
pg_dump: Support using synchronized snapshots on standbys
petere Aug 16, 2017
bfe089e
doc: Fix table column count
petere Aug 17, 2017
963af96
Add missing "static" marker.
tglsfdc Aug 17, 2017
79f457e
Remove bogus line from comment.
robertmhaas Aug 17, 2017
d542859
doc: Update RFC URLs
petere Aug 17, 2017
b5178c5
Further tweaks to compiler flags for PL/Perl on Windows.
tglsfdc Aug 17, 2017
a2b70c8
Fix ExecReScanGatherMerge.
tglsfdc Aug 17, 2017
1e56883
Attempt to clarify comments related to force_parallel_mode.
robertmhaas Aug 17, 2017
ecfe59e
Refactor validation of new partitions a little bit.
robertmhaas Aug 17, 2017
54cde0c
Don't lock tables in RelationGetPartitionDispatchInfo.
robertmhaas Aug 17, 2017
a20aac8
Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e7b83d…
tglsfdc Aug 17, 2017
c4b841b
Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE.
robertmhaas Aug 18, 2017
24620fc
Fix creation of ICU comments for keyword variants
petere Aug 19, 2017
b1c2d76
Fix possible core dump in parallel restore when using a TOC list.
tglsfdc Aug 19, 2017
2cd7084
Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n).
anarazel Aug 20, 2017
c629324
Partially flatten struct tupleDesc so that it can be used in DSM.
anarazel Aug 20, 2017
66ed382
Inject $(ICU_LIBS) regardless of platform.
nmisch Aug 21, 2017
79ccd7c
pg_prewarm: Add automatic prewarm feature.
robertmhaas Aug 21, 2017
1f6d515
Push limit through subqueries to underlying sort, where possible.
robertmhaas Aug 21, 2017
51e225d
Expand set of predefined ICU locales
petere Aug 21, 2017
2bfd1b1
Don't install ICU collation keyword variants
petere Aug 21, 2017
0052a02
Add a hash_combine function for mixing hash values.
anarazel Aug 22, 2017
35ea756
Refactor typcache.c's record typmod hash table.
anarazel Aug 22, 2017
b5664cf
doc: Mention identity column feature in section on serial
petere Aug 22, 2017
7e046e6
pg_upgrade: Message translatability and style fixes
petere Aug 23, 2017
8c0d7ba
Hash tables backed by DSA shared memory.
anarazel Aug 23, 2017
580ddce
Fix translation marker
petere Aug 23, 2017
85f4d63
Tweak some SCRAM error messages and code comments
petere Aug 23, 2017
237a0b8
Improve plural handling in error message
petere Aug 23, 2017
1e1b01c
Fix outdated comment
petere Aug 23, 2017
6d242ee
Update code comment for temporary replication slots
petere Aug 23, 2017
27b8987
Fix up secondary expected files
petere Aug 24, 2017
1177ab1
Make new regression test case parallel-safe, and improve its output.
tglsfdc Aug 24, 2017
fe77741
Increase SCRAM salt length
petere Aug 24, 2017
6ce6a61
pg_upgrade: Remove dead code
petere Aug 24, 2017
0cdc3e4
psql: Fix \gx when FETCH_COUNT is used
sfrost Aug 24, 2017
20fbf25
Fix harmless thinko in dsa.c.
anarazel Aug 24, 2017
4569715
Fix unlikely shared memory leak after failure in dshash_create().
anarazel Aug 24, 2017
d7694fc
Consolidate the function pointer types used by dshash.c.
anarazel Aug 25, 2017
d36f7ef
Add minimal regression test for blessed record type transfer.
anarazel Aug 25, 2017
3f4c791
Code review for pushing LIMIT through subqueries.
tglsfdc Aug 25, 2017
d22e9d5
Implement DO CONTINUE action for ECPG WHENEVER statement.
Aug 25, 2017
e86ac70
Message translatability fixes
petere Aug 25, 2017
99ce446
pg_upgrade: Remove more dead code
petere Aug 25, 2017
aae6227
Fix locale dependency in new ecpg test case.
tglsfdc Aug 25, 2017
449338c
Improve low-level backup documentation.
robertmhaas Aug 25, 2017
a772624
Make setlocale in ECPG test cases thread aware on Windows.
Aug 26, 2017
2073c64
pg_test_timing: Some NLS fixes
petere Aug 26, 2017
04fbe0e
Changed order of statements and added an additiona MSVC safeguard to …
Aug 26, 2017
f1b1049
First-draft release notes for 9.6.5.
tglsfdc Aug 26, 2017
6a5366e
Doc: update v10 release notes through today.
tglsfdc Aug 26, 2017
f97c55c
Release notes for 9.6.5, 9.5.9, 9.4.14, 9.3.19, 9.2.23.
tglsfdc Aug 27, 2017
46596f8
Clarify documentation
petere Aug 28, 2017
95e28b7
Fix over-aggressive sanity check in misc_sanity.sql.
tglsfdc Aug 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ README.* conflict-marker-size=32

# Certain data files that contain special whitespace, and other special cases
*.data -whitespace
contrib/tsearch2/sql/tsearch2.sql whitespace=space-before-tab,blank-at-eof,-blank-at-eol
contrib/pgcrypto/sql/pgp-armor.sql whitespace=-blank-at-eol
doc/bug.template whitespace=space-before-tab,-blank-at-eof,blank-at-eol
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol
src/backend/tsearch/hunspell_sample.affix whitespace=-blank-at-eof

# Test output files that contain extra whitespace
*.out -whitespace
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
*.so
*.so.[0-9]
*.so.[0-9].[0-9]
*.so.[0-9].[0-9][0-9]
*.sl
*.sl.[0-9]
*.sl.[0-9].[0-9]
*.sl.[0-9].[0-9][0-9]
*.dylib
*.dll
*.exp
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)

Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group

Portions Copyright (c) 1994, The Regents of the University of California

Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ install-world:
# build src/ before contrib/
install-world-contrib-recurse: install-world-src-recurse

$(call recurse,installdirs uninstall coverage init-po update-po,doc src config)
$(call recurse,installdirs uninstall init-po update-po,doc src config)

$(call recurse,distprep,doc src config contrib)
$(call recurse,distprep coverage,doc src config contrib)

# clean, distclean, etc should apply to contrib too, even though
# it's not built by default
Expand Down
2 changes: 1 addition & 1 deletion HISTORY
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Release notes for all versions of PostgreSQL can be found on-line at
http://www.postgresql.org/docs/current/static/release.html
https://www.postgresql.org/docs/current/static/release.html

Distribution file sets include release notes for their version and preceding
versions. Visit the file doc/src/sgml/html/release.html in an HTML browser.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ all check install installdirs installcheck installcheck-parallel uninstall clean
\
if [ x"$${GMAKE+set}" = xset ]; then \
echo "Using GNU make found at $${GMAKE}"; \
unset MAKEFLAGS; unset MAKELEVEL; \
$${GMAKE} $@ ; \
else \
echo "You must use GNU make to build PostgreSQL." ; \
Expand Down
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and functions. This distribution also contains C language bindings.

PostgreSQL has many language interfaces, many of which are listed here:

http://www.postgresql.org/download
https://www.postgresql.org/download

See the file INSTALL for instructions on how to build and install
PostgreSQL. That file also lists supported operating systems and
Expand All @@ -23,5 +23,5 @@ distribution; it can be read as described in the installation
instructions.

The latest version of this software may be obtained at
http://www.postgresql.org/download/. For more information look at our
web site located at http://www.postgresql.org/.
https://www.postgresql.org/download/. For more information look at our
web site located at https://www.postgresql.org/.
2 changes: 1 addition & 1 deletion README.git
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git and so will not be present if you are using a git checkout.

If you are using a git checkout, you can view the most recent installation
instructions at:
http://www.postgresql.org/docs/devel/static/installation.html
https://www.postgresql.org/docs/devel/static/installation.html

Users compiling from git will also need compatible versions of Bison, Flex,
and Perl, as discussed in the install documentation. These programs are not
Expand Down
2 changes: 2 additions & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
dnl aclocal.m4
m4_include([config/ac_func_accept_argtypes.m4])
m4_include([config/ax_prog_perl_modules.m4])
m4_include([config/ax_pthread.m4])
m4_include([config/c-compiler.m4])
m4_include([config/c-library.m4])
m4_include([config/docbook.m4])
m4_include([config/general.m4])
m4_include([config/libtool.m4])
m4_include([config/perl.m4])
m4_include([config/pkg.m4])
m4_include([config/programs.m4])
m4_include([config/python.m4])
m4_include([config/tcl.m4])
9 changes: 1 addition & 8 deletions config/ac_func_accept_argtypes.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ dnl #define ACCEPT_TYPE_ARG1 int
dnl #define ACCEPT_TYPE_ARG2 struct sockaddr *
dnl #define ACCEPT_TYPE_ARG3 socklen_t
dnl
dnl This macro requires AC_CHECK_HEADERS to have already verified the
dnl presence or absence of sys/types.h and sys/socket.h.
dnl
dnl NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
dnl macro. Credit for that one goes to David MacKenzie et. al.
dnl
Expand Down Expand Up @@ -51,12 +48,8 @@ AC_DEFUN([AC_FUNC_ACCEPT_ARGTYPES],
for ac_cv_func_accept_arg2 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
for ac_cv_func_accept_arg3 in 'int' 'size_t' 'socklen_t' 'unsigned int' 'void'; do
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
[#include <sys/types.h>
#include <sys/socket.h>
#endif
extern $ac_cv_func_accept_return accept ($ac_cv_func_accept_arg1, $ac_cv_func_accept_arg2, $ac_cv_func_accept_arg3 *);])],
[ac_not_found=no; break 4], [ac_not_found=yes])
done
Expand Down
77 changes: 77 additions & 0 deletions config/ax_prog_perl_modules.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# ===========================================================================
# https://www.gnu.org/software/autoconf-archive/ax_prog_perl_modules.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
#
# DESCRIPTION
#
# Checks to see if the given perl modules are available. If true the shell
# commands in ACTION-IF-TRUE are executed. If not the shell commands in
# ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
# calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL, perl, perl)
# will be run.
#
# MODULES is a space separated list of module names. To check for a
# minimum version of a module, append the version number to the module
# name, separated by an equals sign.
#
# Example:
#
# AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
# AC_MSG_WARN(Need some Perl modules)
#
# LICENSE
#
# Copyright (c) 2009 Dean Povey <[email protected]>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 8

AU_ALIAS([AC_PROG_PERL_MODULES], [AX_PROG_PERL_MODULES])
AC_DEFUN([AX_PROG_PERL_MODULES],[dnl

m4_define([ax_perl_modules])
m4_foreach([ax_perl_module], m4_split(m4_normalize([$1])),
[
m4_append([ax_perl_modules],
[']m4_bpatsubst(ax_perl_module,=,[ ])[' ])
])

# Make sure we have perl
if test -z "$PERL"; then
AC_CHECK_PROG(PERL,perl,perl)
fi

if test "x$PERL" != x; then
ax_perl_modules_failed=0
for ax_perl_module in ax_perl_modules; do
AC_MSG_CHECKING(for perl module $ax_perl_module)

# Would be nice to log result here, but can't rely on autoconf internals
$PERL -e "use $ax_perl_module; exit" > /dev/null 2>&1
if test $? -ne 0; then
AC_MSG_RESULT(no);
ax_perl_modules_failed=1
else
AC_MSG_RESULT(ok);
fi
done

# Run optional shell commands
if test "$ax_perl_modules_failed" = 0; then
:
$2
else
:
$3
fi
else
AC_MSG_WARN(could not find perl)
fi])dnl
57 changes: 55 additions & 2 deletions config/c-compiler.m4
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ int does_int64_work()
return 0;
return 1;
}

int
main() {
exit(! does_int64_work());
return (! does_int64_work());
}])],
[Ac_cachevar=yes],
[Ac_cachevar=no],
Expand Down Expand Up @@ -176,6 +178,33 @@ fi])# PGAC_C_STATIC_ASSERT



# PGAC_C_TYPEOF
# -------------
# Check if the C compiler understands typeof or a variant. Define
# HAVE_TYPEOF if so, and define 'typeof' to the actual key word.
#
AC_DEFUN([PGAC_C_TYPEOF],
[AC_CACHE_CHECK(for typeof, pgac_cv_c_typeof,
[pgac_cv_c_typeof=no
for pgac_kw in typeof __typeof__ decltype; do
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
[int x = 0;
$pgac_kw(x) y;
y = x;
return y;])],
[pgac_cv_c_typeof=$pgac_kw])
test "$pgac_cv_c_typeof" != no && break
done])
if test "$pgac_cv_c_typeof" != no; then
AC_DEFINE(HAVE_TYPEOF, 1,
[Define to 1 if your compiler understands `typeof' or something similar.])
if test "$pgac_cv_c_typeof" != typeof; then
AC_DEFINE_UNQUOTED(typeof, $pgac_cv_c_typeof, [Define to how the compiler spells `typeof'.])
fi
fi])# PGAC_C_TYPEOF



# PGAC_C_TYPES_COMPATIBLE
# -----------------------
# Check if the C compiler understands __builtin_types_compatible_p,
Expand Down Expand Up @@ -271,6 +300,30 @@ fi])# PGAC_C_BUILTIN_UNREACHABLE



# PGAC_C_COMPUTED_GOTO
# -----------------------
# Check if the C compiler knows computed gotos (gcc extension, also
# available in at least clang). If so, define HAVE_COMPUTED_GOTO.
#
# Checking whether computed gotos are supported syntax-wise ought to
# be enough, as the syntax is otherwise illegal.
AC_DEFUN([PGAC_C_COMPUTED_GOTO],
[AC_CACHE_CHECK(for computed goto support, pgac_cv_computed_goto,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
[[void *labeladdrs[] = {&&my_label};
goto *labeladdrs[0];
my_label:
return 1;
]])],
[pgac_cv_computed_goto=yes],
[pgac_cv_computed_goto=no])])
if test x"$pgac_cv_computed_goto" = xyes ; then
AC_DEFINE(HAVE_COMPUTED_GOTO, 1,
[Define to 1 if your compiler handles computed gotos.])
fi])# PGAC_C_COMPUTED_GOTO



# PGAC_C_VA_ARGS
# --------------
# Check if the C compiler understands C99-style variadic macros,
Expand Down Expand Up @@ -335,7 +388,7 @@ if test x"$Ac_cachevar" = x"yes"; then
$1="${$1} $2"
fi
undefine([Ac_cachevar])dnl
])# PGAC_PROG_CC_CFLAGS_OPT
])# PGAC_PROG_CC_VAR_OPT



Expand Down
54 changes: 44 additions & 10 deletions config/c-library.m4
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
fi
AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
[AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[#include <time.h>
[[#include <stdlib.h>
#include <time.h>
#ifndef tzname /* For SGI. */
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
#endif
Expand Down Expand Up @@ -110,8 +111,12 @@ fi
AC_DEFUN([PGAC_UNION_SEMUN],
[AC_CHECK_TYPES([union semun], [], [],
[#include <sys/types.h>
#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
#include <sys/sem.h>])])# PGAC_UNION_SEMUN
#endif
#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
#endif])])# PGAC_UNION_SEMUN


# PGAC_STRUCT_SOCKADDR_UN
Expand All @@ -134,9 +139,7 @@ AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
AC_DEFUN([PGAC_STRUCT_SOCKADDR_STORAGE],
[AC_CHECK_TYPES([struct sockaddr_storage], [], [],
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
])])# PGAC_STRUCT_SOCKADDR_STORAGE

# PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS
Expand All @@ -153,9 +156,7 @@ AC_DEFUN([PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS],
struct sockaddr_storage.__ss_len,
struct sockaddr.sa_len], [], [],
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
])])# PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS


Expand Down Expand Up @@ -184,6 +185,7 @@ AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_MODIFIER],
AC_CACHE_VAL(pgac_cv_snprintf_long_long_int_modifier,
[for pgac_modifier in 'll' 'q' 'I64'; do
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
#include <string.h>
typedef long long int ac_int64;
#define INT64_FORMAT "%${pgac_modifier}d"

Expand All @@ -204,8 +206,10 @@ int does_int64_snprintf_work()
return 0; /* either multiply or snprintf is busted */
return 1;
}

int
main() {
exit(! does_int64_snprintf_work());
return (! does_int64_snprintf_work());
}]])],
[pgac_cv_snprintf_long_long_int_modifier=$pgac_modifier; break],
[],
Expand Down Expand Up @@ -292,8 +296,8 @@ AC_MSG_RESULT([$pgac_cv_snprintf_size_t_support])

# PGAC_TYPE_LOCALE_T
# ------------------
# Check for the locale_t type and find the right header file. Mac OS
# X needs xlocale.h; standard is locale.h, but glibc also has an
# Check for the locale_t type and find the right header file. macOS
# needs xlocale.h; standard is locale.h, but glibc also has an
# xlocale.h file that we should not use.
#
AC_DEFUN([PGAC_TYPE_LOCALE_T],
Expand All @@ -316,4 +320,34 @@ fi
if test "$pgac_cv_type_locale_t" = 'yes (in xlocale.h)'; then
AC_DEFINE(LOCALE_T_IN_XLOCALE, 1,
[Define to 1 if `locale_t' requires <xlocale.h>.])
fi])])# PGAC_HEADER_XLOCALE
fi])# PGAC_TYPE_LOCALE_T


# PGAC_FUNC_WCSTOMBS_L
# --------------------
# Try to find a declaration for wcstombs_l(). It might be in stdlib.h
# (following the POSIX requirement for wcstombs()), or in locale.h, or in
# xlocale.h. If it's in the latter, define WCSTOMBS_L_IN_XLOCALE.
#
AC_DEFUN([PGAC_FUNC_WCSTOMBS_L],
[AC_CACHE_CHECK([for wcstombs_l declaration], pgac_cv_func_wcstombs_l,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[#include <stdlib.h>
#include <locale.h>],
[#ifndef wcstombs_l
(void) wcstombs_l;
#endif])],
[pgac_cv_func_wcstombs_l='yes'],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[#include <stdlib.h>
#include <locale.h>
#include <xlocale.h>],
[#ifndef wcstombs_l
(void) wcstombs_l;
#endif])],
[pgac_cv_func_wcstombs_l='yes (in xlocale.h)'],
[pgac_cv_func_wcstombs_l='no'])])])
if test "$pgac_cv_func_wcstombs_l" = 'yes (in xlocale.h)'; then
AC_DEFINE(WCSTOMBS_L_IN_XLOCALE, 1,
[Define to 1 if `wcstombs_l' requires <xlocale.h>.])
fi])# PGAC_FUNC_WCSTOMBS_L
Loading