- Notifications
You must be signed in to change notification settings - Fork4.9k
Rel9 5 stable#9
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
442 commits Select commitHold shift + click to select a range
2949987
Fix copy & paste mistake in pg_get_replication_slots().
anarazel0ae43b6
Temporarily(?) remove BRIN isolation test.
tglsfdcfda25b2
Further mucking with PlaceHolderVar-related restrictions on join order.
tglsfdcf8e4e0e
Accept alternate spellings of __sparcv7 and __sparcv8.
tglsfdc1cd4685
Fix privilege dumping from servers too old to have that type of privi…
tglsfdc58d2e7f
Minor cleanups in slot related code.
anarazelc5bfcc1
Fix some possible low-memory failures in regexp compilation.
tglsfdc43a8ed2
Fix two off-by-one errors in bufmgr.c.
anarazel2e6f6f3
Handle PQresultErrorField(PG_DIAG_SQLSTATE) returning NULL in streamu…
anarazelfc0a640
Close some holes in BRIN page assignment
alvherreec94bc1
Undo mistaken tightening in join_is_legal().
tglsfdc652ca92
Fix unitialized variables
alvherreedebddb
Fix declaration of isarray variable.
1136971
Use materialize SRF mode in brin_page_items
alvherre657cdb3
Improve regression test case to avoid depending on system catalog stats.
tglsfdcae372e6
Re-add BRIN isolation test
alvherre7321841
MSVC: Exclude 'brin' contrib module
alvherreb435f19
Update key words table for 9.5
petere92516bf
Restore old pgwin32_message_to_UTF16() behavior outside transactions.
nmischf19ad6f
Encoding PG_UHC is code page 949.
nmischfeb473a
Use the correct type for TableInfo->relreplident.
anarazeld19c1b0
Don't use 'bool' as a struct member name in help_config.c.
anarazel32951f9
vacuumdb: Don't assign negative values to a boolean.
anarazel6942663
Correct type of waitMode variable in ExecInsertIndexTuples().
anarazel1f6a7eb
Repair unsafe use of shared typecast-lookup table in plpgsql DO blocks.
tglsfdc656363d
Improve documentation about MVCC-unsafe utility commands.
tglsfdc9a18a2b
Add docs about postgres_fdw's setting of search_path and other GUCs.
tglsfdc2c5c11a
Improve configure test for the sse4.2 crc instruction.
anarazelf25087d
psql: Make EXECUTE PROCEDURE tab completion a bit narrower.
robertmhaas4c3754f
Fix a few bogus statement type names in plpgsql error messages.
tglsfdc24bf2ee
Fix bug in calculations of hash join buckets.
kgrittnf17e247
Update config.guess and config.sub
petere338a862
doc: Whitespace and formatting fixes
petere0070fd8
In AlterRole, make bypassrls an int
sfrost49f9a28
Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
sfrost20bef3f
Allow record_in() and record_recv() to work for transient record types.
tglsfdc1944628
Fix plpython crash when returning string representation of a RECORD r…
tglsfdcd6968e6
Do not allow *timestamp to be passed as NULL
alvherre93fcb4a
Clean up roles from roleattributes test
sfrost68a14ca
Avoid O(N^2) behavior when enlarging SPI tuple table in spi_printtup().
tglsfdc63b04a3
Improve spelling
petere27347c4
Improve whitespace
petere5782324
Fix typo in C comment.
kgrittn4022f94
Avoid use of float arithmetic in bipartite_match.c.
tglsfdcb8c9135
Fix potential platform dependence in gist regression test.
tglsfdc7c0c4d0
Docs: be explicit about datatype matching for lead/lag functions.
tglsfdcbff62df
Reestablish alignment of pg_controldata output.
jconway63c6522
9.5 release notes: mention lack of char() sort improvements
bmomjianaa9630c
release notes: backpatch removal of xpath item to 9.5 tree
bmomjiance56a64
release notes: abbreviated key speedup only for varchar/text
bmomjian440fc48
dblink docs: fix typo to use "connname" (3 n's), not "conname"
bmomjianaed688e
Simplify Perl chmod calls
petered03f331
Ensure locks are acquired on RLS-added relations
sfrostffbc387
Fix s_lock.h PPC assembly code to be compatible with native AIX assem…
tglsfdc1c419ab
Fix sepgsql regression tests.
jconwaybafeb01
Small grammar fix
mhaganderbda58e9
psql: print longtable as a possible \pset option
bmomjian0650218
docs: remove outdated note about unique indexes
bmomjianc1564b3
Use <substeps> in pg_upgrade's procedure
alvherreb8a439b
Allow notifications to bgworkers without database connections.
robertmhaas813e081
pg_upgrade docs: clarify rsync and move verification step
bmomjiane2e78ac
Document that PL/Python now returns floats using repr() not str().
tglsfdc8d60549
Disable fsync throughout TAP test suites.
nmischcb9cc38
Document that max_worker_processes must be high enough in standby.
MasaoFujiia2538da
Fix subtransaction cleanup after an outer-subtransaction portal fails.
tglsfdcb1cbc85
Fix brin index summarizing while vacuuming.
tatsuo-ishii25600c4
Fix misc typos.
hlinnaka5692b4a
Fix CreateTableSpace() so it will compile without HAVE_SYMLINK.
tglsfdcc11100d
Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than
gsstark552723a
Update site address of Snowball project
feodord592a87
Make GIN's cleanup pending list process interruptable
feodora124240
Change type of DOW/DOY to UNITS
gsstark73d2d2e
Add more sanity checks in contrib/sslinfo
alvherre58feb1a
In the pg_rewind test suite, receive WAL fully before promoting.
nmischbbbe5a9
Fix error message wording in previous sslinfo commit
alvherre97b7b95
Add gin_fuzzy_search_limit to postgresql.conf.sample.
MasaoFujii9801bae
Lock all relations referred to in updatable views
sfrost65f37b3
Remove files signaling a standby promotion request at postmaster startup
MasaoFujiid76113d
Fix minor bug in regexp makesearch() function.
tglsfdc9adacca
Fix typo in setrefs.c
sfrostedebc04
Fix setrefs.c comment properly.
tglsfdc683bfbd
doc: Spell checking
petere5b0317b
Correct description of PageHeaderData layout in documentation
MasaoFujii974f910
Fix an O(N^2) problem in foreign key references.
kgrittn25b3ddd
Add missing ReleaseBuffer call in BRIN revmap code
alvherre3243fce
pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
bmomjiand96c80c
Update SQL features list
peteredc3573b
Fix typo in create_policy.sgml
sfrost63c0f5b
doc: Remove dead links
peteref243072
Fix the fastpath rule for jsonb_concat with an empty operand.
adunstanfb98859
Improve log messages related to tablespace_map file
MasaoFujii225f539
Add POLICY to COMMENT documentation
sfrosted301d6
Revert "Fix an O(N^2) problem in foreign key references".
tglsfdc23a4b89
RLS refactoring
sfrost68b5201
Enforce ALL/SELECT policies in RETURNING for RLS
sfrostea00ff5
Review program help output for wording and formatting
petere5b7aef8
Remove no-longer-used T_PrivGrantee node tag.
tglsfdc3047a9b
Don't use "#" as an abbreviation for "number" in PL/Tcl error messages.
tglsfdcd97bdb0
Fix documentation of regular expression character-entry escapes.
tglsfdc104184d
Honour TEMP_CONFIG when testing pg_upgrade
adunstane8e2999
Order some new options on man pages more sensibly, minor improvements
peterea39331f
Fix low-probability memory leak in regex execution.
tglsfdc1e1ae6e
Cache argument type information in json(b) aggregate functions.
adunstanbd313ba
Add missing serial comma
petere866a034
Simplify GETTEXT_FILES list
petereb46f5eb
Let compiler handle size calculation of bool types.
3d3bc29
Be more wary about partially-valid LOCALLOCK data in RemoveLocalLock().
tglsfdc1be9d65
Restrict file mode creation mask during tmpfile().
nmisch6dae6ed
Remove the row_security=force GUC value.
nmischbbdb9df
Remove the SECURITY_ROW_LEVEL_DISABLED security context bit.
nmisch3dfffac
Fix possible internal overflow in numeric multiplication.
tglsfdca8bb248
Fix whitespace
petere265728e
doc: Tweak synopsis indentation for consistency
petere62e503b
Correct value of LW_SHARED_MASK.
anarazel55728ea
test_decoding: Protect against rare spurious test failures.
anarazelfe6d2ab
Docs: fix typo in to_char() example.
tglsfdccfb2024
Make ANALYZE compute basic statistics even for types with no "=" oper…
tglsfdcef4fccd
Lower *_freeze_max_age minimum values.
anarazeleac3b33
Make pg_controldata report newest XID with valid commit timestamp
MasaoFujii59d765b
Improve handling of collations in contrib/postgres_fdw.
tglsfdc45d256c
Allow planner to use expression-index stats for function calls in WHERE.
tglsfdcf1ee153
Fix psql's code for locale-aware formatting of numeric output.
tglsfdcda4af91
Further fix for psql's code for locale-aware formatting of numeric ou…
tglsfdc5eb7024
Further fix for psql's code for locale-aware formatting of numeric ou…
tglsfdcc9645f7
Second try at fixing O(N^2) problem in foreign key references.
tglsfdcbd7c348
Rework the way multixact truncations work.
anarazel6e8af37
Remove legacy multixact truncation support.
anarazel0160c1d
doc: Tweak "cube" index entry
petere63ab1a3
pg_ctl: Improve help formatting and order
petere90d0377
reindexdb: Fix mistake in help output
petere27af56b
pg_dump: Fix some messages
petere80e2694
Don't try to create a temp install without abs_top_builddir.
robertmhaas90586ef
Fix ON CONFLICT DO UPDATE for tables with oids.
anarazelce58502
Ensure a few policies remain for pg_upgrade
sfrostb67c9c1
Fix poor errno handling in libpq's version of our custom OpenSSL BIO.
tglsfdcaea76d1
Fix "sesssion" typo
alvherrec4e6d50
Fix compiler warning about unused function in non-readline case.
adunstan60fcee9
Fix compiler warning for non-TIOCGWINSZ case
adunstan9a6fbc2
Comment update for join pushdown.
robertmhaasa16b9b1
Fix plperl to handle non-ASCII error message texts correctly.
tglsfdcd8c7bb2
Code review for transaction commit timestamps
alvherre3c4c5ac
Fix incorrect tps number calculation in "excluding connections establ…
tatsuo-ishii75096c4
Include policies based on ACLs needed
sfrost91d97f0
Don't dump core when destroying an unused ParallelContext.
robertmhaas8c8a834
Improve LISTEN startup time when there are many unread notifications.
tglsfdcc9a8d05
Fix mention of htup.h in storage.sgml
MasaoFujiid312cc3
Fix documentation error in commit 8703059c6b55c427100e00a09f66534b6cc…
tglsfdca742ef8
Fix commit_ts for standby
alvherre5ea47e8
Fix pg_dump to handle inherited NOT VALID check constraints correctly.
tglsfdc867bc68
Fix message punctuation according to style guide
petere0f51a84
pg_rewind: Improve some messages
petere65dc1fc
Don't disable commit_ts in standby if enabled locally
alvherre1dc6f55
Docs: add another example of creating a range type.
tglsfdcc56b2aa
Docs: add disclaimer about hazards of using regexps from untrusted so…
tglsfdcbb704a7
Add some more query-cancel checks to regular expression matching.
tglsfdc51f2359
Fix potential infinite loop in regular expression execution.
tglsfdc20c6277
Add recursion depth protections to regular expression matching.
tglsfdcbdc5d95
Add recursion depth protection to LIKE matching.
tglsfdc63e86ec
Clarify FDW documentation about ON CONFLICT.
robertmhaas19b06cc
Update time zone data files to tzdata release 2015g.
tglsfdc5f90492
doc: Make some index terms and terminology more consistent
petere0777a88
doc: Update URLs of external projects
petere7285d66
Fix several bugs related to ON CONFLICT's EXCLUDED pseudo relation.
anarazelcfddb5d
Improve errhint() about replication slot naming restrictions.
anarazel01ba789
Make BYPASSRLS behave like superuser RLS bypass.
nmisch4365d9c
Document that row_security is a boolean GUC.
nmische45f8f8
Group cluster_name and update_process_title settings together
petere544ccf6
Disallow invalid path elements in jsonb_set
adunstanca5b42d
Fix some issues in new hashtable size calculations in nodeHash.c.
tglsfdce5c94c7
Further twiddling of nodeHash.c hashtable sizing calculation.
tglsfdc39a716d
Improve contrib/pg_stat_statements' handling of garbage collection fa…
tglsfdce78dc6b
Release notes for 9.5beta1, 9.4.5, 9.3.10, 9.2.14, 9.1.19, 9.0.23.
tglsfdc90f334d
ALTER TABLE .. FORCE ROW LEVEL SECURITY
sfrost0577821
Re-Align *_freeze_max_age reloption limits with corresponding GUC lim…
anarazel31fb4df
Do not write out WCOs in Query
sfrostbd90147
Apply SELECT policies in INSERT/UPDATE+RETURNING
sfrost4d67522
pgcrypto: Detect and report too-short crypt() salts.
nmisch98f30d2
Prevent stack overflow in json-related functions.
nmischacf0da1
Prevent stack overflow in container-type functions.
nmisch7bed97d
Prevent stack overflow in query-type functions.
nmischf9bb9c0
Add regression tests for INSERT/UPDATE+RETURNING
sfrost56805a4
Remove outdated comment about relation level autovacuum freeze limits.
anarazel808f1bd
Last-minute updates for release notes.
tglsfdc149a8cd
Translation updates
peterec0f058e
Fix insufficiently-portable regression test case.
tglsfdcd623591
Docs: explain contrib/pg_stat_statements' handling of GC failure.
tglsfdc7d88b3d
docs: update guidelines on when to use GIN and GiST indexes
bmomjianb96df2c
Stamp 9.5beta1.
tglsfdc02580df
Perform an immediate shutdown if the postmaster.pid file is removed.
tglsfdc2169e87
docs: clarify JSONB operator descriptions
bmomjian9445a1c
docs: Map operator @> to the proper SGML escape for '>'
bmomjianc86555f
docs: add JSONB containment example of a key and empty object
bmomjianfc95734
Improve documentation of the role-dropping process.
tglsfdc48a78d8
Factor out encoding specific tests for json
adunstan36d4a50
Fix typo in docs.
robertmhaase50431a
Fix uninitialized-variable bug.
tglsfdca26609e
Handle append_rel_list in expand_security_qual
sfrost2539b9b
Make prove_installcheck remove the old log directory, if any.
nmisch7109c60
Fix whitespace
peteref75c4fc
Use JsonbIteratorToken consistently in automatic variable declarations.
nmischa151a5c
Fix "pg_ctl start -w" to test child process status directly.
tglsfdc34557f5
Cause TestLib.pm to define $windows_os in all branches.
tglsfdcc6ab511
Sigh, need "use Config" as well.
tglsfdc39ac293
On Windows, ensure shared memory handle gets closed if not being used.
tglsfdcbf8a361
Improve INSERT .. ON CONFLICT error message.
robertmhaas41179e7
-- email subject limit -----------------------------------------
bmomjian54e07be
Fix bogus comments
alvherre5043193
Allow FDWs to push down quals without breaking EvalPlanQual rechecks.
robertmhaasa93b378
Fix NULL handling in datum_to_jsonb().
tglsfdc26981d2
Don't send protocol messages to a shm_mq that no longer exists.
robertmhaasc451eaf
Transfer current command counter ID to parallel workers.
robertmhaasd43e3ad
Tighten up application of parallel mode checks.
robertmhaas14129d1
Invalidate caches after cranking up a parallel worker transaction.
robertmhaas73d71cd
Fix a problem with parallel workers being unable to restore role.
robertmhaas2288441
Remove cautions about using volatile from spin.h.
robertmhaas0889e18
Fix regular-expression compiler to handle loops of constraint arcs.
tglsfdccff9e06
Fix O(N^2) performance problems in regular-expression compiler.
tglsfdce9cf3dc
Improve performance of fixempties() pass in regular-expression compiler.
tglsfdc1bb0fbc
Improve performance of pullback/pushfwd in regular-expression compiler.
tglsfdce91cfde
Improve memory-usage accounting in regular-expression compiler.
tglsfdc6a7a2ee
Miscellaneous cleanup of regular-expression compiler.
tglsfdc9372614
Fix order of arguments in ecpg generated typedef command.
43e36f8
Fix incorrect handling of lookahead constraints in pg_regprefix().
tglsfdc01a96c7
Eschew "RESET statement_timeout" in tests.
nmisched6c516
Fix back-patch of commit 8e3b4d9d40244c037bbc6e182ea3fabb9347d482.
nmischb06f1f2
Put back ssl_renegotiation_limit parameter, but only allow 0.
robertmhaasb3967f8
Fix incorrect comment in plannodes.h
robertmhaas2bfd2fe
doc: Move documentation of max_wal_size to better position
petere5fb20a5
Fix incorrect translation of minus-infinity datetimes for json/jsonb.
tglsfdc85e30f5
doc: Add advice on updating checkpoint_segments to max_wal_size
petereac9a016
shm_mq: Fix failure to notice a dead counterparty when nowait is used.
robertmhaas17b07af
Add two missing cases to ATWrongRelkindError.
robertmhaas44390e3
shm_mq: Repair breakage from previous commit.
robertmhaas80ae841
Measure string lengths only once
alvherre68cc162
Cleanup commit timestamp module activaction, again
alvherrecf42abc
Fix BRIN free space computations
alvherre3e9e033
Document BRIN's inclusion opclass framework
alvherrec569491
Fix secondary expected output for commit_ts test
alvherree53e2a1
Fix incorrect message in ATWrongRelkindError.
robertmhaasd17d512
Add missing serial comma, for consistency.
robertmhaas0bc3071
Message style improvements
petere9a1a229
Docs: add example clarifying use of nested JSON containment.
tglsfdc7852f73
Fix typo in bgworker.c
robertmhaas21e634e
doc: security_barrier option is a Boolean, not a string.
robertmhaas50ca917
Fix serialization anomalies due to race conditions on INSERT.
kgrittn67d4738
Add RMV to list of commands taking AE lock.
kgrittnfd5ce6b
shm_mq: Third attempt at fixing nowait behavior in shm_mq_receive.
robertmhaasf4057cd
Code + docs review for unicode linestyle patch.
tglsfdcfdae4a9
Remove obsolete advice about doubling backslashes in regex escapes.
tglsfdc1d97b25
Improve comments about abbreviation abort.
robertmhaasFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Ensure locks are acquired on RLS-added relations
During fireRIRrules(), get_row_security_policies can add tosecurityQuals and withCheckOptions. Make sure to lock any relationsadded at that point and before firing RIR rules on those expressions.Back-patch to 9.5 where RLS was added.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitd03f3314b35cc4ac2be832cf63ae67a69ee4d93c
There are no files selected for viewing
19 changes: 19 additions & 0 deletionssrc/backend/rewrite/rewriteHandler.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.