Hackorum
Menu
Theme
Topics
CI
Search
Statistics
Reports
Help
Sign in
Register
PostgreSQL Hackers Archive
Topics
CI
Search
Reports
Sign in
Register
Statistics
Help
Sign in
Register
Filter:
Author
Committer
Reviewer
Reported by
Co-author
Commit activity
2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Wk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Commits on April 02, 2008
Commits
1
commit
of which 1 backported
0
Author
1
Committer
0
Reviewer
0
Reported by
0
Co-author
Credit
Commit
Branches
Thread(s)
Committed
Committer
Backported
Revert my bad decision of about a year ago to make PortalDefineQuery responsible for copying the query string into the new Portal. Such copying is unnecessary in the common code path through exec_simple_query, and in this case it can be enormously expensive because the string might contain a large number of individual commands; we were copying the entire, long string for each command, resulting in O(N^2) behavior for N commands. (This is the cause of bug #4079.) A second problem with it is that PortalDefineQuery really can't risk error, because if it elog's before having set up the Portal, we will leak the plancache refcount that the caller is trying to hand off to the portal. So go back to the design in which the caller is responsible for making sure everything is copied into the portal if necessary.
1591fcbe
master
8.4beta1
REL_19_STABLE
8.4beta1
REL_18_STABLE
8.4beta1
REL_17_STABLE
8.4beta1
REL_16_STABLE
8.4beta1
REL_15_STABLE
8.4beta1
REL_14_STABLE
8.4beta1
REL_13_STABLE
8.4beta1
+17 more
No linked thread
Apr 02, 2008