Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Simplify newNode() by removing special cases | Heikki Linnakangas | 2023-12-19 |
| | | | | | | | | | | | | | | | | | | | | | - Remove MemoryContextAllocZeroAligned(). It was supposed to be a faster version of MemoryContextAllocZero(), but modern compilers turn the MemSetLoop() into a call to memset() anyway, making it more or less identical to MemoryContextAllocZero(). That was the only user of MemSetTest, MemSetLoop, so remove those too, as well as palloc0fast(). - Convert newNode() to a static inline function. When this was originally originally written, it was written as a macro because testing showed that gcc didn't inline the size check as we intended. Modern compiler versions do, and now that it just calls palloc0() there is no size-check to inline anyway. One nice effect is that the palloc0() takes one less argument than MemoryContextAllocZeroAligned(), which saves a few instructions in the callers of newNode(). Reviewed-by: Peter Eisentraut, Tom Lane, John Naylor, Thomas Munro Discussion: https://www.postgresql.org/message-id/b51f1fa7-7e6a-4ecc-936d-90a8a1659e7c@iki.fi | ||
* | Update copyright for 2023 | Bruce Momjian | 2023-01-02 |
| | | | | Backpatch-through: 11 | ||
* | Update copyright for 2022 | Bruce Momjian | 2022-01-07 |
| | | | | Backpatch-through: 10 | ||
* | Update copyright for 2021 | Bruce Momjian | 2021-01-02 |
| | | | | Backpatch-through: 9.5 | ||
* | Update copyrights for 2020 | Bruce Momjian | 2020-01-01 |
| | | | | Backpatch-through: update all files in master, backpatch legal files through 9.4 | ||
* | Update copyright for 2019 | Bruce Momjian | 2019-01-02 |
| | | | | Backpatch-through: certain files through 9.4 | ||
* | Update copyright for 2018 | Bruce Momjian | 2018-01-02 |
| | | | | Backpatch-through: certain files through 9.3 | ||
* | Update copyright via script for 2017 | Bruce Momjian | 2017-01-03 |
| | |||
* | Update copyright for 2016 | Bruce Momjian | 2016-01-02 |
| | | | | Backpatch certain files through 9.1 | ||
* | Update copyright for 2015 | Bruce Momjian | 2015-01-06 |
| | | | | Backpatch certain files through 9.0 | ||
* | Update copyright for 2014 | Bruce Momjian | 2014-01-07 |
| | | | | | Update all files in head, and files COPYRIGHT and legal.sgml in all back branches. | ||
* | Update copyrights for 2013 | Bruce Momjian | 2013-01-01 |
| | | | | | Fully update git head, and update back branches in ./COPYRIGHT and legal.sgml files. | ||
* | Update copyright notices for year 2012. | Bruce Momjian | 2012-01-01 |
| | |||
* | Stamp copyrights for year 2011. | Bruce Momjian | 2011-01-01 |
| | |||
* | Remove cvs keywords from all files. | Magnus Hagander | 2010-09-20 |
| | |||
* | Update copyright for the year 2010. | Bruce Momjian | 2010-01-02 |
| | |||
* | Update copyright for 2009. | Bruce Momjian | 2009-01-01 |
| | |||
* | In GCC-based builds, use a better newNode() macro that relies on GCC-specific | Tom Lane | 2008-08-29 |
| | | | | | | syntax to avoid a useless store into a global variable. Per experimentation, this works better than my original thought of trying to push the code into an out-of-line subroutine. | ||
* | Update copyrights in source tree to 2008. | Bruce Momjian | 2008-01-01 |
| | |||
* | Update CVS HEAD for 2007 copyright. Back branches are typically not | Bruce Momjian | 2007-01-05 |
| | | | | back-stamped for this. | ||
* | Update copyright for 2006. Update scripts. | Bruce Momjian | 2006-03-05 |
| | |||
* | Tag appropriate files for rc3 | PostgreSQL Daemon | 2004-12-31 |
| | | | | | | | | Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ... | ||
* | Update copyright to 2004. | Bruce Momjian | 2004-08-29 |
| | |||
* | Fix grammatical error in comment. | Neil Conway | 2004-05-06 |
| | |||
* | $Header: -> $PostgreSQL Changes ... | PostgreSQL Daemon | 2003-11-29 |
| | |||
* | Update copyrights to 2003. | Bruce Momjian | 2003-08-04 |
| | |||
* | pgindent run. | Bruce Momjian | 2003-08-04 |
| | |||
* | Code review for palloc0 patch --- avoid dangerous and unnecessary | Tom Lane | 2002-12-16 |
| | | | | | | | | practice of evaluating MemSet's arguments multiple times, except for the special case of newNode(), where we can assume the argument is a constant sizeof() operator. Also, add GetMemoryChunkContext() to mcxt.c's API, in preparation for fixing recent GEQO breakage. | ||
* | Add palloc0 function to inline MemSet for newNode call. | Bruce Momjian | 2002-11-10 |
| | |||
* | Oops, back out newNode changes. We are not ready for that yet. | Bruce Momjian | 2002-10-11 |
| | |||
* | Prevent tv_sec from becoming negative in connection timeout code. | Bruce Momjian | 2002-10-11 |
| | |||
* | Update copyright to 2002. | Bruce Momjian | 2002-06-20 |
| | |||
* | Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. | Bruce Momjian | 2001-01-24 |
| | |||
* | Ye-old pgindent run. Same 4-space tabs. | Bruce Momjian | 2000-04-12 |
| | |||
* | Add: | Bruce Momjian | 2000-01-26 |
| | | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files. | ||
* | Major planner/optimizer revision: get rid of PathOrder node type, | Tom Lane | 1999-08-16 |
| | | | | | | | | | store all ordering information in pathkeys lists (which are now lists of lists of PathKeyItem nodes, not just lists of lists of vars). This was a big win --- the code is smaller and IMHO more understandable than it was, even though it handles more cases. I believe the node changes will not force an initdb for anyone; planner nodes don't show up in stored rules. | ||
* | Move some system includes into c.h, and remove duplicates. | Bruce Momjian | 1999-07-17 |
| | |||
* | Clean up #include in /include directory. Add scripts for checking includes. | Bruce Momjian | 1999-07-15 |
| | |||
* | Cleanup of /include #include's, for 6.6 only. | Bruce Momjian | 1999-07-14 |
| | |||
* | Change my-function-name-- to my_function_name, and optimizer renames. | Bruce Momjian | 1999-02-13 |
| | |||
* | Renaming cleanup, no pgindent yet. | Bruce Momjian | 1998-09-01 |
| | |||
* | pgindent run before 6.3 release, with Thomas' requested changes. | Bruce Momjian | 1998-02-26 |
| | |||
* | Inline memset() as MemSet(). | Bruce Momjian | 1997-09-18 |
| | |||
* | Another PGINDENT run that changes variable indenting and case label ↵ | Bruce Momjian | 1997-09-08 |
| | | | | indenting. Also static variable indenting. | ||
* | Massive commit to run PGINDENT on all *.c and *.h files. | Bruce Momjian | 1997-09-07 |
| | |||
* | Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01 | Marc G. Fournier | 1996-07-09 |