Filter:

Commits in week 2 (Jan 06 - Jan 12, 2003)

Commits26 commits of which 5 backported
0Author
26Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterRevise cost_qual_eval() to compute both startup (one-time) and per-tuple costs for expression evaluation, not only per-tuple cost as before. This extension is needed in order to deal realistically with hashed or materialized sub-selects.
d4ce5a4f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFix wrong/misleading comments, be more consistent about where to call ExecAssignResultTypeFromTL().
d51260aa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFix some minor grammatical errors.
b05204ac
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFirst cut at implementing IN (and NOT IN) via hashtables. There is more to be done yet, but this is a good start.
19b88633
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterBackportedCause symlinks for shared-library versioning to run in the standard direction on HP-UX; our former approach has been obsolete since HPUX 9.
43057c7a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 11, 2003
CommitterCreate a new file executor/execGrouping.c to centralize utility routines shared by nodeGroup, nodeAgg, and soon nodeSubplan.
1afac129
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 10, 2003
CommitterBackportedAdd missing <limits.h> for INT64_IS_BUSTED case.
c8370260
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 10, 2003
CommitterFurther tweaking of parsetree & plantree representation of SubLinks. Simplify SubLink by storing just a List of operator OIDs, instead of a list of incomplete OpExprs --- that was a bizarre and bulky choice, with no redeeming social value since we have to build new OpExprs anyway when forming the plan tree.
e69785de
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 10, 2003
CommitterAdjust parser so that 'x NOT IN (subselect)' is converted to 'NOT (x IN (subselect))', that is 'NOT (x = ANY (subselect))', rather than 'x <> ALL (subselect)' as we formerly did. This opens the door to optimizing NOT IN the same way as IN, whereas there's no hope of optimizing the expression using <>. Also, convert 'x <> ALL (subselect)' to the NOT(IN) style, so that the optimization will be available when processing rules dumped by older Postgres versions. initdb forced due to small change in SubLink node representation.
6bc61fc0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterAdd missing #include <getopt.h>.
59779c81
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterMove new typedef AclId into c.h, so as to avoid cluttering namespace by having to include miscadmin.h into other header files.
83b06823
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterCall timestamp_in with proper arguments, per gripe from Mark Halliwell.
2e98da52
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterBackportedRepair inconsistent rounding behavior for timestamp, time, interval, per gripe from Csaba Nagy. There is still potential for platform-specific behavior for values that are exactly halfway between integers, but at least we now get the expected answer for all other cases.
fb715e05
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 09, 2003
CommitterAdd missing pg_proc entry for interval_scale(). The lack of this entry causes interval rounding not to work as expected in 7.3, for example SELECT '18:17:15.6'::interval(0) does not round the value. I did not force initdb, but one is needed to install the added row.
1c25c52c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterGuard against stopping when numberTuples=0 and counter wraps around.
3bb248ac
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterReconsider old decision to try to constant-fold default and constraint expressions before they are stored. This seems like not such a hot idea, particularly now that the constant-folder will try to inline SQL functions.
2d140d35
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterBackportedRepair bug noticed by Deepak Bhole: a shell type should have a dependency on its namespace, so that it will go away if the schema is dropped.
51d2e3bd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 08, 2003
CommitterBackportedFix for bug #866. 7.3 contains new logic for avoiding redundant calls to the index AM when we know we are fetching a unique row. However, this logic did not consider the possibility that it would be asked to fetch backwards. Also fix mark/restore to work correctly in this scenario.
cbca6c48
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 08, 2003
CommitterCode review for FETCH/MOVE 0 changes. Improve documentation, do the right thing with the destination when FETCH 0 can't return a row, don't try to stuff LONG_MAX into an int value.
061168d3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterSendFunctionResult should take care to detoast varlena results.
1bc9e985
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterFix various places where global s/NOTICE/WARNING/ was applied with too much enthusiasm.
9f1f2bfb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterUpdate for new we-always-have-getopt_long approach.
30a800a0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterApply the proper version of Christopher Kings-Lynne's describe patch (ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
b4b62cff
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterTweak mdnblocks() to avoid doing lseek() on segments that it has previously determined not to be the last segment of a relation. This reduces the expected cost to one seek, rather than one seek per segment. We can get away with this because truncation of a relation will cause a relcache flush and so the md.c file descriptor will be closed; when it is re-opened we will re-determine the last segment.
973a210c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterAdd note explaining that a mergejoinable equality operator is now required if a datatype is to be accepted by GROUP BY, DISTINCT, or ORDER BY. This is documentation for code changes made pursuant to pgsql-hackers discussion around 29-Nov-02.
d99e7b5a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 06, 2003
CommitterALTER DOMAIN OWNER, from Rod Taylor.
daec989f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 06, 2003