forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork0
update from original#2
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
360 commits Select commitHold shift + click to select a range
385f337
Allow foreign and custom joins to handle EvalPlanQual rechecks.
robertmhaasd5563d7
psql: Support multiple -c and -f options, and allow mixing them.
robertmhaas938d797
Avoid odd portability problem in TestLib.pm's slurp_file function.
tglsfdc521f045
Make failure to open psql's --log-file fatal.
tglsfdc25c5392
Improve performance in freeing memory contexts
kgrittnb287df7
Allow EXPLAIN (ANALYZE, VERBOSE) to display per-worker statistics.
robertmhaasc00239e
Remove redundant sentence.
robertmhaas9c779c4
Accept flex > 2.5.x on Windows, too.
tglsfdce3f4cfc
Fix bug leading to restoring unlogged relations from empty files.
anarazel84ac126
Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers.
anarazel348bcd8
Fix typo.
robertmhaas8b469bd
Improve ALTER POLICY tab completion.
robertmhaasa351705
Improve some messages
petere69e7235
Fix commit timestamp initialization
alvherreacfcd45
Still more fixes for planner's handling of LATERAL references.
tglsfdced8bec9
Handle dependencies properly in ALTER POLICY
sfrost4fcf484
Get rid of the planner's LateralJoinInfo data structure.
tglsfdc833728d
Handle policies during DROP OWNED BY
sfrostdccf8e9
Install our "missing" script where PGXS builds can find it.
tglsfdc8c16155
For REASSIGN OWNED for foreign user mappings
alvherre6b34e55
pg_rewind: Don't error if the two clusters are already on the same ti…
petere085423e
Add an expected-file to match behavior of latest libxml2.
tglsfdcf54d062
Fix ALTER TABLE ... SET TABLESPACE for unlogged relations.
anarazel19e7ca8
doc: Add some markup
petere6d96cd0
Doc: update external URLs for PostGIS project.
tglsfdc263c195
Properly initialize write, flush and replay locations in walsender slots
mhagandera91bdf6
Consistently set all fields in pg_stat_replication to null instead of 0
mhaganderfcbbf82
Code and docs review for multiple -c and -f options in psql.
tglsfdc7bd149c
Docs: document that psql's "\i -" means read from stdin.
tglsfdc2a35449
Correct statement to actually be the intended assert statement.
anarazelcca705a
Fix bug in SetOffsetVacuumLimit() triggered by find_multixact_start()…
anarazel7b96bf4
Fix out-of-memory error handling in ParameterDescription message proc…
hlinnakae2f1765
Remove xmlparse(document '') test
kgrittn0d8f3d5
Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly
alvherredb81329
Add missing cleanup logic in pg_rewind/t/005_same_timeline.pl test.
tglsfdce5e11c8
Collect the global OR of hasRowSecurity flags for plancache
sfrost43cd468
Improve CREATE POLICY documentation
sfrost3fed417
Provide a way to predefine LWLock tranche IDs.
robertmhaas6150a1b
Move buffer I/O and content LWLocks out of the main tranche.
robertmhaas049469e
Teach mdnblocks() not to create zero-length files.
robertmhaasbfc7f5d
Update 9.5 release notes through today.
tglsfdc0625dbb
Document use of Subject Alternative Names in SSL server certificates.
tglsfdcf27a6b1
Mark CHECK constraints declared NOT VALID valid if created with table.
robertmhaasb648b70
Speed up CREATE INDEX CONCURRENTLY's TID sort.
robertmhaas2ec477d
Cope with Readline's failure to track SIGWINCH events outside of input.
tglsfdc756e7b4
Rework internals of changing a type's ownership
alvherreaee7705
Fix improper initialization order for readline.
tglsfdc66d947b
Adjust behavior of single-user -j mode for better initdb error report…
tglsfdcc4a8812
Use just one standalone-backend session for initdb's post-bootstrap s…
tglsfdc3d0c50f
Remove unreferenced function declarations.
tglsfdc33bd250
Cube extension kNN support
feodor9246af6
Allow to omit boundaries in array subscript
feodor9a51698
Fix typo in comment.
robertmhaas4496226
Fix copy-and-paste error in logical decoding callback.
robertmhaas2bdfcb5
Fix TupleQueueReaderNext not to ignore its nowait argument.
robertmhaas6e7b335
Remove duplicate word.
robertmhaas3c7042a
pgbench: Change terminology from "threshold" to "parameter".
robertmhaasbbbd807
Revert 9246af6799819847faa33baf441251003acbb8fe because
feodor130d94a
Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.
anarazel529fd74
Fix whitespace
petered37b816
Adopt a more compact, less error-prone notation for tab completion code.
tglsfdc6542181
Add missing COSTS OFF to EXPLAIN commands in rowsecurity.sql.
tglsfdc69e7c44
psql: Review of new help output strings
petered854118
Teach psql's tab completion to consider the entire input string.
tglsfdc99ccb23
Remove silly completion for "DELETE FROM tabname ...".
tglsfdc6f8cb1e
Make viewquery a copy in rewriteTargetView()
sfrostf5a4370
Fix calculation of space needed for parsed words in tab completion.
tglsfdcccd8f97
postgres_fdw: Consider requesting sorted data so we can do a merge join.
robertmhaas0ba3f3b
Comment improvements for abbreviated keys.
robertmhaas6efbded
Allow omitting one or both boundaries in an array slice specifier.
tglsfdc30c0c4b
Remove unnecessary escaping in C character literals
petere51d152f
Change Gather not to use a physical tlist.
robertmhaasbc7fcab
Read from the same worker repeatedly until it returns no tuple.
robertmhaas1aa41e3
In pg_dump, remember connection passwords no matter how we got them.
tglsfdcff402ae
Improve handling of password reuse in src/bin/scripts programs.
tglsfdc01e386a
Avoid VACUUM FULL altogether in initdb.
tglsfdcbee172f
Docs typo fix.
tglsfdc96cd61a
Fix factual and grammatical errors in comments for struct _tableInfo.
tglsfdc71dd092
Docs: fix erroneously-given function name.
tglsfdca9246fb
Remove unnecessary row ordering dependency in pg_rewind test suite.
tglsfdc25bfa7e
Improve the gin index scan performance in pg_trgm.
feodor8014c44
Improve SECURITY LABEL tab completion
MasaoFujii3d2b31e
Fix brin_summarize_new_values() to check index type and ownership.
tglsfdcfec1ad9
Include typmod when complaining about inherited column type mismatches.
tglsfdc743229a
Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()
alvherrefc995bf
Fix translation domain in pg_basebackup
alvherre731dfc7
Update documentation about pseudo-types.
tglsfdc151c4ff
doc: pg_committs -> pg_commit_ts
alvherre870df2b
Fix omission of -X (--no-psqlrc) in some psql invocations.
tglsfdc54aaafe
Document the exponentiation operator as associating left to right.
tglsfdcac443d1
Document brin_summarize_new_pages
alvherre81ee726
Code and docs review for cube kNN support.
tglsfdc241448b
Rename (new|old)estCommitTs to (new|old)estCommitTsXid
jconwayfd19525
Put back one copyObject() in rewriteTargetView().
tglsfdcefe4c9d
Add some comments about division of labor between rewriter and planner.
tglsfdce5e5267
Minor hacking on contrib/cube documentation.
tglsfdce842908
Avoid useless truncation attempts during VACUUM.
tglsfdce5d06f2
Dept of second thoughts: the !scan_all exit mustn't increase scanned_…
tglsfdc0dab5ef
Fix ALTER OPERATOR to update dependencies properly.
tglsfdc5f36096
Add a comment noting that FDWs don't have to implement EXCEPT or LIMI…
tglsfdc805ac78
doc: Add index entries and better documentation link for Linux OOM
petere253de19
doc: Remove redundant duplicate URLs from ulink elements
petere3cd1ba1
Fix comments about WAL rule "write xlog before data" versus pg_multix…
nmisch3c93a60
Add some more defenses against silly estimates to gincostestimate().
tglsfdcc7e27be
Teach flatten_reloptions() to quote option values safely.
tglsfdcdfcd9cb
Cover heap_page_prune_opt()'s cleanup lock tactic in README.
nmischee94300
Update copyright for 2016
bmomjianad08bf5
Update copyright for 2016
tglsfdc48c9f28
Update copyright for 2016
tglsfdcde7c8db
Make copyright.pl cope with nonstandard case choices in copyright not…
tglsfdcdf35af2
Adjust back-branch release note description of commits a2a718b22 et al.
tglsfdc7157fe8
Fix overly-strict assertions in spgtextproc.c.
tglsfdcb416c0b
Teach pg_dump to quote reloption values safely.
tglsfdc90e61df
Fix treatment of *lpNumberOfBytesRecvd == 0: that's a completion cond…
tglsfdc0279891
Do a final round of copy-editing on the 9.5 release notes.
tglsfdcc6aeba3
Do some copy-editing on the docs for replication origins.
tglsfdc939d10c
Guard against null arguments in binary_upgrade_create_empty_extension().
tglsfdcc1611db
Do some copy-editing on the docs for row-level security.
tglsfdcf47b602
Fix bogus lock release in RemovePolicyById and RemoveRoleFromObjectPo…
tglsfdcfb1227a
Fix regrole and regnamespace types to honor quoting like other reg* t…
tglsfdcb0cadc0
Fix regrole and regnamespace output functions to do quoting, too.
tglsfdc8978eb0
Fix typo in comment.
robertmhaas5d35438
Adjust behavior of row_security GUC to match the docs.
tglsfdc7debf36
Docs: provide a concrete discussion and example for RLS race conditions.
tglsfdc9b181b0
In psql's tab completion, change most TailMatches patterns to Matches.
tglsfdc4f18010
Convert psql's tab completion for backslash commands to the new style.
tglsfdc83be184
Add to_regnamespace() and to_regrole() to the documentation.
tglsfdcefa318b
Make pg_shseclabel available in early backend startup
alvherreea0d494
Make the to_reg*() functions accept text not cstring.
tglsfdc9211919
In opr_sanity regression test, check for unexpected uses of cstring.
tglsfdc4aecd22
Make pg_receivexlog silent with 9.3 and older servers
alvherre3343ea9
Sort $(wildcard) output where needed for reproducible build output.
tglsfdc419400c
Remove some ancient and unmaintained encoding-conversion test cruft.
tglsfdcabb1733
Add scale(numeric)
alvherre65681d0
Fix typo in create_transform.sgml.
tatsuo-ishii4bf8716
Comment typo fix.
tglsfdcdad0899
In initdb's post-bootstrap phase, drop temp tables explicitly.
tglsfdca967613
Windows: Make pg_ctl reliably detect service status
alvherre5e0b5dc
Provide more detail in postmaster log for password authentication fai…
tglsfdc6b1a837
Remove vestigial CHECK_FOR_INTERRUPTS call.
tglsfdcb1a9bad
pgstat: add WAL receiver status view & SRF
alvherre33b054b
Use plain mkdir() not pg_mkdir_p() to create subdirectories of PGDATA.
tglsfdcfa838b5
Add win32security to LIBOBJS
alvherreb41fb65
Fix unobvious interaction between -X switch and subdirectory creation.
tglsfdcf81c966
Fix order of arguments to va_start()
alvherrec44d013
Delay creation of subplan tlist until after create_plan().
tglsfdca54676a
Marginal cleanup of GROUPING SETS code in grouping_planner().
tglsfdcc662ef1
Remove reundand include of TestLib
mhagander2650486
Fix typo in comment
mhagandere9282e9
Blind attempt at a Cygwin fix
alvherre4631721
Revert "Blind attempt at a Cygwin fix"
alvherre687f2cd
Avoid pin scan for replay of XLOG_BTREE_VACUUM
simonat2ndQuadrant529baf6
Add STRICT to some C functions created by the regression tests.
tglsfdcb602842
Revoke change to rmgr desc of btree vacuum
simonat2ndQuadrant1cb63c7
Clean up code for widget_in() and widget_out().
tglsfdc26d538d
Clean up some lack-of-STRICT issues in the core code, too.
tglsfdc3ef16c4
Add some checks on "char"-type columns to type_sanity and opr_sanity.
tglsfdc820bdcc
Remove a useless PG_GETARG_DATUM() call from jsonb_build_array.
tglsfdcc618e1b
doc: Fix typo in logical decoding documentation
petere950ab82
Remove obsolete comment.
robertmhaas866566a
Avoid dump/reload problems when using both plpython2 and plpython3.
tglsfdcfb6fcbd
Use LOAD not actual code execution to pull in plpython library.
tglsfdc796d1e8
Remove no-longer-needed old-style check for incompatible plpythons.
tglsfdc1e29e63
Maintain local LogwrtResult consistently
simonat2ndQuadrante63bb45
Add new user fn pg_current_xlog_flush_location()
simonat2ndQuadrant7032703
psql: Update tab completion comment
peterebc56d58
psql: Fix CREATE INDEX tab completion
petereb1bfb28
psql: Improve CREATE INDEX CONCURRENTLY tab completion
petere26905e0
Run pgindent on src/bin/pg_dump/*
tglsfdc5b5fea2
Access pg_dump's options structs through Archive struct, not directly.
tglsfdce72d7d8
Handle extension members when first setting object dump flags in pg_d…
tglsfdc6a61d1f
Properly close token in sspi authentication
mhagandera923af3
Fix build_grouping_chain() to not clobber its input lists.
tglsfdc23c2dd0
Fix spelling mistakes.
robertmhaascf7dfbf
Fix minor typo in comment
mhagander4189e3d
psql: Add completion support for DROP INDEX CONCURRENTLY
petere57ce9ac
Remove dead code in pg_dump.
tglsfdc8d290c8
Re-pgindent a few files.
tglsfdc65c5fcd
Restructure index access method API to hide most of it at the C level.
tglsfdc49b4950
Add explicit cast to amcostestimate call.
tglsfdc85f2228
Fix typo.
tatsuo-ishii53c949c
Remove Cygwin-specific code from pg_ctl
adunstan9ff6027
Fix assorted inconsistencies in GiST opclass support function declara…
tglsfdc948c979
Add two HyperLogLog functions
alvherredbe2328
Fix assorted inconsistencies in GIN opclass support function declarat…
tglsfdc216d568
Properly install dynloader.h on MSVC builds
bmomjianc8642d9
PostgresNode: Add names to nodes
alvherrea7de3dc
Support multi-stage aggregation.
robertmhaas45be99f
Support parallel joins, and make related improvements.
robertmhaas422a55a
Refactor to create generic WAL page read callback
simonat2ndQuadrantd0f2f53
psql: Add tab completion for COPY with query
petere978b2f6
Speedup 2PC by skipping two phase state files in normal path
simonat2ndQuadrantc80b31d
Refactor headers to split out standby defs
simonat2ndQuadrant38710a3
Remove unused argument from ginInsertCleanup()
MasaoFujiib995518
Add defenses against putting expanded objects into Const nodes.
tglsfdcbe44ed2
Improve index AMs' opclass validation procedures.
tglsfdcd9b9289
Suppress compiler warning.
tglsfdc647d87c
Make extract() do something more reasonable with infinite datetimes.
tglsfdca396144
Remove new coupling between NAMEDATALEN and MAX_LEVENSHTEIN_STRLEN.
tglsfdc80aa219
Improve levenshtein() docs.
tglsfdcfd5200c
Improve cross-platform consistency of Inf/NaN handling in trig functi…
tglsfdce1bd684
Add trigonometric functions that work in degrees.
tglsfdcdf43fcf
pg_dump: Fix quoting of domain constraint names
alvherre6ae4c8d
psql: Improve completion of FDW DDL commands
petere73193d8
Adjust degree-based trig functions for more portability.
tglsfdc65abaab
Further adjust degree-based trig functions for more portability.
tglsfdc360f67d
Still further adjust degree-based trig functions for more portability.
tglsfdc0034757
Yet further adjust degree-based trig functions for more portability.
tglsfdc1129c2b
Correct comment in GetConflictingVirtualXIDs()
simonat2ndQuadrantad2e233
Revert "Fix broken multibyte regression tests."
tatsuo-ishii879d713
Various fixes to REFRESH MATERIALIZED VIEW tab completion.
kgrittncc988fb
Improve ResourceOwners' behavior for large numbers of owned objects.
tglsfdcb8682a7
Fix startup so that log prefix %h works for the log_connections message.
tglsfdc5b3cc1a
Mostly mechanical cleanup of pgbench
alvherre8bea3d2
pgbench: improve multi-script support
alvherree09507a
Fix volatility marking of pg_size_pretty function
MasaoFujii025b2f3
Fix cross-version pg_dump for aggregate combine functions.
robertmhaaseaf7b1f
Assert that create_unique_path returns non-NULL.
robertmhaas7f46eaf
Add gin_clean_pending_list function to clean up GIN pending list
MasaoFujii62e2ddd
Fix typos in comments and doc
MasaoFujiie374838
Fix spi_worker mention in bgworker documentation
alvherre80db1ca
Add [NO]BYPASSRLS options to CREATE USER and ALTER USER docs.
robertmhaas96198d9
Avoid multiple foreign server connections when all use same user mapp…
robertmhaas2f6b041
Add missing quotation mark.
robertmhaasfbe5a3f
Only try to push down foreign joins if the user mapping OIDs match.
robertmhaasb88ef20
postgres_fdw: Refactor deparsing code for locking clauses.
robertmhaasc35c4ec
Fix syntax descriptions for replication commands in logicaldecoding.sgml
MasaoFujii7e22470
Fix incorrect pattern-match processing in psql's \det command.
tglsfdcb603766
pgbench: refactor handling of stats tracking
alvherreb319356
Migrate PGPROC's backendLock into PGPROC itself, using a new tranche.
robertmhaas2251179
Migrate replication slot I/O locks into a separate tranche.
robertmhaascc592c4
postgres_fdw: More preliminary refactoring for upcoming join pushdown.
robertmhaas9217bf3
Fix whitespace
petere7dc09c1
Fix error in documentated use of mingw-w64 compilers
adunstan61ce1e8
Fix misspelled function name in comment.
hlinnakae51ab85
Fix typos in comments
mhagander7a58d19
Make sure ecpg header files do not have a comment lasting several lin…
89611c4
Various fixes to "ALTER ... SET/RESET" tab completions
MasaoFujii64f5edc
pgbench: Install guards against obscure overflow conditions.
robertmhaas1d0c3b3
pgbench: allow per-script statistics
alvherre7191ce8
Make all built-in lwlock tranche IDs fixed.
robertmhaasf25d07d
Fix lossy KNN GiST when ordering operator returns non-float8 value.
feodor23f3cc3
Fix typo in comment
mhagandera4627e8
Fix pg_description entries for jsonb_to_record() and jsonb_to_records…
tglsfdc2ad83ff
Remove unnecessary "implementation of FOO operator" DESCR() entries.
tglsfdc3cb5867
Don't test for system columns on join relations
alvherre2808a2e
Remove printQueryOpt.quote field.
tglsfdcac7238d
Improve error reporting when location specified by postgres -D does n…
petere7d17e68
Add support for systemd service notifications
peteree6ecc93
Fix IsValidJsonNumber() to notice trailing non-alphanumeric garbage.
tglsfdcFile 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
Improve performance in freeing memory contexts
The single linked list of memory contexts could result in O(N^2)performance to free a set of contexts if they were not freed inreverse order of creation. In many cases the reverse order wasused, but there were some significant exceptions that caused real-world performance problems. Rather than requiring all callers tocare about the order in which contexts were freed, and hunting downand changing all existing cases where the wrong order was used, weadd one pointer per memory context so that the implementationdetails are not so visible.Jan Wieck
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit25c539233044c235e97fd7c9dc600fb5f08fe065
There are no files selected for viewing
26 changes: 14 additions & 12 deletionssrc/backend/utils/mmgr/mcxt.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
1 change: 1 addition & 0 deletionssrc/include/nodes/memnodes.h
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.