Commit Graph

4514 Commits (0b7026d964c79515c8df00b37ab41d550bcdcbde)

Author SHA1 Message Date
Noah Misch 0b7026d964 Predict integer overflow to avoid buffer overruns. 12 years ago
Noah Misch 23b5a85e60 Prevent privilege escalation in explicit calls to PL validators. 12 years ago
Noah Misch 5d320a16ca Shore up ADMIN OPTION restrictions. 12 years ago
Tom Lane 3f721588ae Fix possible crashes due to using elog/ereport too early in startup. 12 years ago
Kevin Grittner 1f069d21d3 Fix misplaced right paren bugs in pgstatfuncs.c. 13 years ago
Peter Eisentraut e1f7173ea1 Avoid potential buffer overflow crash 13 years ago
Tom Lane 8cfd4c6a17 Be more robust when strerror() doesn't give a useful result. 13 years ago
Tom Lane 172ba45780 Fix some odd behaviors when using a SQL-style simple GMT offset timezone. 13 years ago
Tom Lane 6084c0705a Make sure float4in/float8in accept all standard spellings of "infinity". 13 years ago
Alvaro Herrera c928dc9dfb Fix old visibility bug in HeapTupleSatisfiesDirty 13 years ago
Tom Lane 1346f40b58 Fix regexp_matches() handling of zero-length matches. 13 years ago
Tom Lane 13f11c8a8c Fix booltestsel() for case where we have NULL stats but not MCV stats. 13 years ago
Tom Lane c1f51ed296 Change post-rewriter representation of dropped columns in joinaliasvars. 13 years ago
Stephen Frost 3cb7a393e8 Ensure 64bit arithmetic when calculating tapeSpace 13 years ago
Tom Lane e46753e9b9 Fix cache flush hazard in cache_record_field_properties(). 13 years ago
Tom Lane 0c2c0f82c2 Guard against input_rows == 0 in estimate_num_groups(). 13 years ago
Tom Lane c13ed70a4f Fix longstanding race condition in plancache.c. 13 years ago
Tom Lane ddf177228f Fix insecure parsing of server command-line switches. 13 years ago
Tom Lane b403f4107b Make REPLICATION privilege checks test current user not authenticated user. 13 years ago
Tom Lane 81e2255fc7 Fix to_char() to use ASCII-only case-folding rules where appropriate. 13 years ago
Tom Lane 3a77936602 Fix overflow check in tm2timestamp (this time for sure). 13 years ago
Tom Lane 1881634820 Prevent execution of enum_recv() from SQL. 13 years ago
Simon Riggs 2113574be8 Reset vacuum_defer_cleanup_age to PGC_SIGHUP. 13 years ago
Simon Riggs ac148a2e93 Mark vacuum_defer_cleanup_age as PGC_POSTMASTER. 13 years ago
Tom Lane 4a6232cce3 Fix error-checking typo in check_TSCurrentConfig(). 13 years ago
Tom Lane d4c78c1811 Reject out-of-range dates in to_date(). 13 years ago
Tom Lane ed98b48bf4 Fix failure to ignore leftover temp tables after a server crash. 14 years ago
Tom Lane 9d39e94999 Fix filling of postmaster.pid in bootstrap/standalone mode. 14 years ago
Tom Lane f0fc1d4c89 Add defenses against integer overflow in dynahash numbuckets calculations. 14 years ago
Tom Lane 1da5bef317 Fix assorted bugs in CREATE INDEX CONCURRENTLY. 14 years ago
Tom Lane 4387cc9ab4 Improve handling of INT_MIN / -1 and related cases. 14 years ago
Tom Lane fe838e5074 Limit values of archive_timeout, post_auth_delay, auth_delay.milliseconds. 14 years ago
Tom Lane e9ad86ce68 Fix the int8 and int2 cases of (minimum possible integer) % (-1). 14 years ago
Tom Lane 68a8ea6046 Fix memory leaks in record_out() and record_send(). 14 years ago
Tom Lane d01a744219 Fix hash_search to avoid corruption of the hash table on out-of-memory. 14 years ago
Tom Lane 823f83d3d5 Fix ruleutils to print "INSERT INTO foo DEFAULT VALUES" correctly. 14 years ago
Heikki Linnakangas 6c00b2bbf7 Fix access past end of string in date parsing. 14 years ago
Tom Lane 97395185b8 Make configure probe for mbstowcs_l as well as wcstombs_l. 14 years ago
Tom Lane 180ce0af33 Fix issues with checks for unsupported transaction states in Hot Standby. 14 years ago
Tom Lane ff122d3268 Fix cascading privilege revoke to notice when privileges are still held. 14 years ago
Tom Lane 0df2da9d72 Prevent access to external files/URLs via XML entity references. 14 years ago
Tom Lane 805fc21c33 Fix bugs with parsing signed hh:mm and hh:mm:ss fields in interval input. 14 years ago
Tom Lane d6270e2df9 Prevent corner-case core dump in rfree(). 14 years ago
Tom Lane a9287de176 Back-patch fix for extraction of fixed prefixes from regular expressions. 14 years ago
Tom Lane ed45a53730 Back-patch addition of pg_wchar-to-multibyte conversion functionality. 14 years ago
Tom Lane 62b9045666 Refactor pattern_fixed_prefix() to avoid dealing in incomplete patterns. 14 years ago
Tom Lane b6108fe59b Fix planner to pass correct collation to operator selectivity estimators. 14 years ago
Tom Lane af4f029675 Fix race condition in enum value comparisons. 14 years ago
Tom Lane 3dfaea4727 Revert back-branch changes in behavior of age(xid). 14 years ago
Tom Lane d72a3bd758 Ignore SECURITY DEFINER and SET attributes for a PL's call handler. 14 years ago