Commit Graph

377 Commits (682ce911f8f30de39b13cf211fc8ceb8c6cbc01b)

Author SHA1 Message Date
Robert Haas 682ce911f8 Allow parallel query for prepared statements with generic plans. 8 years ago
Andres Freund 2cd7084524 Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). 9 years ago
Tom Lane b73f1b5c29 Make simpler-simple-expressions code cope with a Gather plan. 9 years ago
Tom Lane 00418c6124 Simplify plpgsql's check for simple expressions. 9 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
Tom Lane 8f0530f580 Improve castNode notation by introducing list-extraction-specific variants. 9 years ago
Kevin Grittner 5ebeb579b9 Follow-on cleanup for the transition table patch. 9 years ago
Kevin Grittner 5970271632 Add transition table support to plpgsql. 9 years ago
Tom Lane 244dd95ce9 Update some obsolete comments. 9 years ago
Andres Freund b8d7f053c5 Faster expression evaluation and targetlist projection. 9 years ago
Robert Haas 61c2e1a95f Improve access to parallel query from procedural languages. 9 years ago
Robert Haas f120b614e0 plpgsql: Don't generate parallel plans for RETURN QUERY. 9 years ago
Peter Eisentraut f97a028d8e Spelling fixes in code comments 9 years ago
Tom Lane 08da52859a Bring plpgsql into line with header inclusion policy. 9 years ago
Tom Lane 7afd56c3c6 Use castNode() in a bunch of statement-list-related code. 9 years ago
Andres Freund ea15e18677 Remove obsoleted code relating to targetlist SRF evaluation. 9 years ago
Tom Lane ab1f0c8225 Change representation of statement lists, and add statement location info. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Tom Lane 1833f1a1c3 Simplify code by getting rid of SPI_push, SPI_pop, SPI_restore_connection. 9 years ago
Tom Lane 9257f07872 Replace uses of SPI_modifytuple that intend to allocate in current context. 9 years ago
Tom Lane fc8b81a291 Need to do SPI_push/SPI_pop around expression evaluation in plpgsql. 9 years ago
Tom Lane a4c35ea1c2 Improve parser's and planner's handling of set-returning functions. 9 years ago
Peter Eisentraut e0013deb59 Make better use of existing enums in plpgsql 9 years ago
Tom Lane ea268cdc9a Add macros to make AllocSetContextCreate() calls simpler and safer. 10 years ago
Tom Lane bfaaacc805 Improve plpgsql's memory management to fix some function-lifespan leaks. 10 years ago
Tom Lane 0bb51aa967 Improve parsetree representation of special functions such as CURRENT_DATE. 10 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 10 years ago
Tom Lane 23a27b039d Widen query numbers-of-tuples-processed counters to uint64. 10 years ago
Magnus Hagander 6c90996a4c Add prefix to pl/pgsql global variables and functions 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Robert Haas 1efc7e5382 Fix problems with ParamListInfo serialization mechanism. 10 years ago
Robert Haas 7aea8e4f2d Determine whether it's safe to attempt a parallel plan for a query. 10 years ago
Tom Lane 0426f349ef Rearrange the handling of error context reports. 10 years ago
Tom Lane fcdfce6820 Detect mismatched CONTINUE and EXIT statements at plpgsql compile time. 11 years ago
Tom Lane d3eaab3ef0 Fix performance bug from conflict between two previous improvements. 11 years ago
Tom Lane 83604cc423 Repair unsafe use of shared typecast-lookup table in plpgsql DO blocks. 11 years ago
Tom Lane 0fc94a5bab Repair mishandling of cached cast-expression trees in plpgsql. 11 years ago
Tom Lane 6c82d8d1fd Further reduce overhead for passing plpgsql variables to the executor. 11 years ago
Tom Lane ae58f1430a Fix failure to cover scalar-vs-rowtype cases in exec_stmt_return(). 11 years ago
Tom Lane 1dc5ebc907 Support "expanded" objects, particularly arrays, for better performance. 11 years ago
Tom Lane a4847fc3ef Add an ASSERT statement in plpgsql. 11 years ago
Alvaro Herrera 13dbc7a824 array_offset() and array_offsets() 11 years ago
Tom Lane 5ff683962e Remove obsolete comment. 11 years ago
Tom Lane 21dcda2713 Allocate ParamListInfo once per plpgsql function, not once per expression. 11 years ago
Tom Lane 7f3014dce5 Change plpgsql's cast cache to consider source typmod as significant. 11 years ago
Tom Lane 45f2c2fc4e Need to special-case RECORD as well as UNKNOWN in plpgsql's casting logic. 11 years ago
Tom Lane 1345cc67bb Use standard casting mechanism to convert types in plpgsql, when possible. 11 years ago
Tom Lane e524cbdc45 Track typmods in plpgsql expression evaluation and assignment. 11 years ago