postgresql/src
Tom Lane d166eed302 Fix indentation of JOIN clauses in rule/view dumps.
The code attempted to outdent JOIN clauses further left than the parent
FROM keyword, which was odd in any case, and led to inconsistent formatting
since in simple cases the clauses couldn't be moved any further left than
that.  And it left a permanent decrement of the indentation level, causing
subsequent lines to be much further left than they should be (again, this
couldn't be seen in simple cases for lack of indentation to give up).

After a little experimentation I chose to make it indent JOIN keywords
two spaces from the parent FROM, which is one space more than the join's
lefthand input in cases where that appears on a different line from FROM.

Back-patch to 9.3.  This is a purely cosmetic change, and the bug is quite
old, so that may seem arbitrary; but we are going to be making some other
changes to the indentation behavior in both HEAD and 9.3, so it seems
reasonable to include this in 9.3 too.  I committed this one first because
its effects are more visible in the regression test results as they
currently stand than they will be later.
2014-04-30 12:01:19 -04:00
..
backend Fix indentation of JOIN clauses in rule/view dumps. 2014-04-30 12:01:19 -04:00
bin Fix uninitialized-variable warnings induced by recent commit. 2014-04-30 11:15:15 -04:00
common Don't #include utils/palloc.h in common/fe_memutils.h. 2014-04-26 14:14:28 -04:00
include Can't completely get rid of #ifndef FRONTEND in palloc.h :-( 2014-04-27 21:24:19 -04:00
interfaces ecpg: Add additional files to .gitignore 2014-04-23 13:30:36 -04:00
makefiles Flush a stray definition of $(DLLTOOL). 2014-02-11 12:59:48 -05:00
pl PL/Python: Adjust the regression tests for Python 3.4 2014-04-29 22:16:16 -04:00
port Preserve errno across free(). 2014-04-04 19:07:37 -04:00
template Revert to using --enable-auto-import in Cygwin builds. 2014-02-16 15:14:04 -05:00
test Fix indentation of JOIN clauses in rule/view dumps. 2014-04-30 12:01:19 -04:00
timezone Update time zone data files to tzdata release 2014a. 2014-03-15 13:36:07 -04:00
tools Properly build pg_recvlogical in the msvc build system 2014-04-24 09:31:29 +02:00
tutorial Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in build: add EXTRA_REGRESS_OPTS to all pg_regress invocations 2014-04-22 18:13:10 -04:00
Makefile.shlib Tweak position of $(DLL_DEFFILE) in shared-library link commands. 2014-02-12 11:22:23 -05:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00