Commit Graph

280 Commits (793ecff7df80c5ffe598e431a6c2aca1d4c64eff)

Author SHA1 Message Date
Amit Langote 00f2a2556c Add missing initializations of p_perminfo 2 years ago
Tom Lane 99be6feec9 Fix more bugs caused by adding columns to the end of a view. 3 years ago
Peter Eisentraut f8ba1bf4e4 Fix incorrect format placeholder 3 years ago
Tom Lane 2489d76c49 Make Vars be outer-join-aware. 3 years ago
Tom Lane 47bb9db759 Get rid of the "new" and "old" entries in a view's rangetable. 3 years ago
Tom Lane f0e6d6d3c9 Revert "Get rid of the "new" and "old" entries in a view's rangetable." 3 years ago
Tom Lane 1b4d280ea1 Get rid of the "new" and "old" entries in a view's rangetable. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Alvaro Herrera a61b1f7482
Rework query relation permission checking 3 years ago
Tom Lane 56d0ed3b75 Give better hints for ambiguous or unreferenceable columns. 3 years ago
Alvaro Herrera 3fd1f4b9cd
Remove duplicate initialization 3 years ago
Andrew Dunstan 2f2b18bd3f Revert SQL/JSON features 3 years ago
Tom Lane 83f1793d60 Check maximum number of columns in function RTEs, too. 3 years ago
Tom Lane b9654cecea Fix ruleutils issues with dropped cols in functions-returning-composite. 3 years ago
Dean Rasheed bcedd8f5fc Make subquery aliases optional in the FROM clause. 3 years ago
Alvaro Herrera 0fbf011200
Check column list length in XMLTABLE/JSON_TABLE alias 4 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Andrew Dunstan 4e34747c88 JSON_TABLE 4 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 639a86e36a Remove Value node struct 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Peter Eisentraut 055fee7eb4 Allow an alias to be attached to a JOIN ... USING 5 years ago
Peter Eisentraut 66392d3965 Add p_names field to ParseNamespaceItem 5 years ago
Tom Lane d4c746516b Remove no-longer-used RTE argument of markVarForSelectPriv(). 5 years ago
Tom Lane c028faf2a6 Fix mishandling of column-level SELECT privileges for join aliases. 5 years ago
Peter Eisentraut 3696a600e2 SEARCH and CYCLE clauses 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane ce90f075f0 Improve the error message for an inappropriate column definition list. 5 years ago
Tom Lane 9ce77d75c5 Reconsider the representation of join alias Vars. 6 years ago
Tom Lane 915c04f091 Fix typmod exposed for scalar function in FROM, too. 6 years ago
Tom Lane 4d02eb017e Fix collation exposed for scalar function in FROM. 6 years ago
Tom Lane 5815696bc6 Make parser rely more heavily on the ParseNamespaceItem data structure. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Tom Lane b541e9accb Refactor parser's generation of Var nodes. 6 years ago
Amit Kapila 14aec03502 Make the order of the header file includes consistent in backend modules. 6 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 7 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Peter Eisentraut fc22b6623b Generated columns 7 years ago
Tom Lane 5f5c014590 Allow RECORD and RECORD[] to be specified in function coldeflists. 7 years ago
Tom Lane 4be058fe9e In the planner, replace an empty FROM clause with a dummy RTE. 7 years ago
Andres Freund e0c4ec0728 Replace uses of heap_open et al with the corresponding table_* function. 7 years ago
Andres Freund 111944c5ee Replace heapam.h includes with {table, relation}.h where applicable. 7 years ago
Andres Freund 4c850ecec6 Don't include heapam.h from others headers. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Andres Freund 02a30a09f9 Correct constness of system attributes in heap.c & prerequisites. 7 years ago
Tom Lane b04aeb0a05 Add assertions that we hold some relevant lock during relation open. 7 years ago
Tom Lane fdba460a26 Create an RTE field to record the query's lock mode for each relation. 7 years ago
Tom Lane d0cfc3d6a4 Add a debugging option to stress-test outfuncs.c and readfuncs.c. 7 years ago