aboutsummaryrefslogtreecommitdiff
path: root/src/tools/pgindent
Commit message (Collapse)AuthorAge
* pgindent: Fix order in instructionsPeter Eisentraut2013-02-14
| | | | | | The previous order of steps didn't literally work, because git clean -fdx would delete the downloaded typedefs.list. Also, pgindent needs to be called with a path when one is in at the top of the build tree.
* Fix a logic bug in pgindent.Andrew Dunstan2013-01-07
|
* Have pgindent requre pg_bsd_indent version 1.2 now that a new versionBruce Momjian2012-08-27
| | | | | | has been created by adding #include <stdlib.h> to parse.c. per request from Kevin Grittner.
* Tweak new Perl pgindent for compatibility with middle-aged Perls.Tom Lane2012-08-07
| | | | | | We seem to have a rough policy that our Perl scripts should work with Perl 5.8, so make this one do so. Main change is to not use the newfangled \h character class in regexes; "[ \t]" is a serviceable replacement.
* Replace pgindent shell script with Perl script. Update perltidyBruce Momjian2012-08-04
| | | | | | instructions to perltidy Perl files that lack Perl file extensions. pgindent Perl coding by Andrew Dunstan, restructured by me.
* Remove 'x =- 1' check for pgindent, not needed, per report from AndrewBruce Momjian2012-07-12
| | | | Dunstan.
* Remove 'for' loop perltidy argument, and move args to perltidyrc file.Bruce Momjian2012-06-16
| | | | | | Backpatch to 9.2. Per suggestion from Noah Misch
* In pgindent, suppress reading the perltidy RC file using --noprofile.Bruce Momjian2012-06-15
|
* Update pgindent Perl indentation instructions based on feedback fromBruce Momjian2012-06-15
| | | | | | Àlvaro and Noah Misch. Backpatch to 9.2.
* Update pgindent install instructions and update typedef list.Bruce Momjian2012-06-10
|
* Add installing entab to pgindent instructionsPeter Eisentraut2012-03-21
| | | | And minor other pgindent documentation tweaks.
* Fix pathname in pgindent README.Robert Haas2012-01-09
| | | | Kevin Grittner
* Document that perl needs to be indented during the pgindent run.Bruce Momjian2011-11-28
|
* Rerun pgindent with updated typedef list.Bruce Momjian2011-11-14
|
* Fix pg_bsd_indent bug where newlines were not being trimmed from typedefBruce Momjian2011-10-26
| | | | | | | lines. Update pg_bsd_indent required version to 1.1 (and update ftp site). Problem reported by Magnus.
* Modify pgindent to use a renamed pg_bsd_indent binary. New featuresBruce Momjian2011-10-12
| | | | | include the ability to supply a typedef file, rather than list them on the command line. Also improve the README.
* Add comment about pg_ctl stopAlvaro Herrera2011-06-10
|
* Mention "pg_ctl stop" in pgindent README instructions.Bruce Momjian2011-06-09
|
* Update typedef list for upcoming pgindent run.Bruce Momjian2011-06-09
|
* Latest consolidated typedef list from buildfarm.Andrew Dunstan2011-04-08
|
* Use $INDENT instead of `which` to find the indent binaryAlvaro Herrera2011-02-18
| | | | Per discussion after my commit o yesterday.
* Use $INDENT rather than indent throughout the pgindent codeAlvaro Herrera2011-02-17
| | | | | This allows the user to change the path to be used more easily. Also, change URL in README.
* Implement genuine serializable isolation level.Heikki Linnakangas2011-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, our Serializable mode has in fact been what's called Snapshot Isolation, which allows some anomalies that could not occur in any serialized ordering of the transactions. This patch fixes that using a method called Serializable Snapshot Isolation, based on research papers by Michael J. Cahill (see README-SSI for full references). In Serializable Snapshot Isolation, transactions run like they do in Snapshot Isolation, but a predicate lock manager observes the reads and writes performed and aborts transactions if it detects that an anomaly might occur. This method produces some false positives, ie. it sometimes aborts transactions even though there is no anomaly. To track reads we implement predicate locking, see storage/lmgr/predicate.c. Whenever a tuple is read, a predicate lock is acquired on the tuple. Shared memory is finite, so when a transaction takes many tuple-level locks on a page, the locks are promoted to a single page-level lock, and further to a single relation level lock if necessary. To lock key values with no matching tuple, a sequential scan always takes a relation-level lock, and an index scan acquires a page-level lock that covers the search key, whether or not there are any matching keys at the moment. A predicate lock doesn't conflict with any regular locks or with another predicate locks in the normal sense. They're only used by the predicate lock manager to detect the danger of anomalies. Only serializable transactions participate in predicate locking, so there should be no extra overhead for for other transactions. Predicate locks can't be released at commit, but must be remembered until all the transactions that overlapped with it have completed. That means that we need to remember an unbounded amount of predicate locks, so we apply a lossy but conservative method of tracking locks for committed transactions. If we run short of shared memory, we overflow to a new "pg_serial" SLRU pool. We don't currently allow Serializable transactions in Hot Standby mode. That would be hard, because even read-only transactions can cause anomalies that wouldn't otherwise occur. Serializable isolation mode now means the new fully serializable level. Repeatable Read gives you the old Snapshot Isolation level that we have always had. Kevin Grittner and Dan Ports, reviewed by Jeff Davis, Heikki Linnakangas and Anssi Kääriäinen
* Rename macro DECIMAL to DECIMAL_T to help pgindent; this is alreadyBruce Momjian2011-02-06
| | | | | done for a few other macros in that file, for other reasons. I also remove pgindent/README mention of the file.
* Remove useless whitespace at end of linesPeter Eisentraut2010-11-23
|
* Remove cvs keywords from all files.Magnus Hagander2010-09-20
|
* Remove extra newlines at end and beginning of files, add missing newlinesPeter Eisentraut2010-08-19
| | | | at end of files.
* Mention why one C file fails pgindent.Bruce Momjian2010-07-06
|
* Update pgindent testing instructions.Bruce Momjian2010-07-06
|
* Exclude unwanted typedef symbols in pgindent, including FD_SET which is ↵Andrew Dunstan2010-04-05
| | | | found on some Windows platforms. Also, silence unnecessary messages and make awk happier about literal '*' on some platforms.
* Use a file of patterns of filenames to exclude from pgindent runs, instead ↵Andrew Dunstan2010-04-01
| | | | if using multiple invocations of egrep. Add perl ppport.h to the current list.
* Suggest gmake installcheck-world for pgindent testing.Bruce Momjian2010-02-26
|
* Revert pgindent changes to ecpg include files that are part of ecpgBruce Momjian2010-02-26
| | | | | regession test output, and update pgindent script to avoid them in the future.
* Wording improvements to README.Bruce Momjian2010-02-26
|
* Update pgindent docs to use maintainer-clean.Bruce Momjian2010-02-26
|
* Document why pgindent wants a fresh CVS checkout.Bruce Momjian2010-02-26
|
* Call output file typedefs.list; update README.Bruce Momjian2010-02-26
|
* Update pgindent instructions.Bruce Momjian2010-02-26
|
* Add pgindent typedefs file to CVS.Bruce Momjian2010-02-26
|
* Update pgindent instructions to avoid changes to flex output files.Bruce Momjian2010-02-26
|
* Document struct/union problem with pgindent.Bruce Momjian2009-06-11
|
* Update pgindent instructions.Bruce Momjian2009-06-10
|
* Document new location for typedef list.Bruce Momjian2009-06-10
|
* Small shell syntax improvement.Bruce Momjian2008-11-03
|
* Ignore blank lines in typedef file.Bruce Momjian2008-04-16
|
* More README src cleanups.Bruce Momjian2008-03-21
|
* Change /contrib to contrib for consistency.Peter Eisentraut2008-01-24
|
* Improve usage message for pgindent.Bruce Momjian2008-01-16
|
* Modify pgindent to use an external typedefs file rather than includedBruce Momjian2007-12-21
| | | | | | list. Remove pgjindent.
* Mention use all configure options when getting pgindent typedefs.Bruce Momjian2007-12-17
|