mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -40,7 +40,7 @@ typedef struct TrieChar
|
||||
static TrieChar *
|
||||
placeChar(TrieChar *node, unsigned char *str, int lenstr, char *replaceTo, int replacelen)
|
||||
{
|
||||
TrieChar *curnode;
|
||||
TrieChar *curnode;
|
||||
|
||||
if (!node)
|
||||
{
|
||||
@ -77,7 +77,7 @@ placeChar(TrieChar *node, unsigned char *str, int lenstr, char *replaceTo, int r
|
||||
static TrieChar *
|
||||
initTrie(char *filename)
|
||||
{
|
||||
TrieChar *volatile rootTrie = NULL;
|
||||
TrieChar *volatile rootTrie = NULL;
|
||||
MemoryContext ccxt = CurrentMemoryContext;
|
||||
tsearch_readline_state trst;
|
||||
volatile bool skip;
|
||||
@ -162,8 +162,8 @@ initTrie(char *filename)
|
||||
|
||||
if (state >= 3)
|
||||
rootTrie = placeChar(rootTrie,
|
||||
(unsigned char *) src, srclen,
|
||||
trg, trglen);
|
||||
(unsigned char *) src, srclen,
|
||||
trg, trglen);
|
||||
|
||||
pfree(line);
|
||||
}
|
||||
|
Reference in New Issue
Block a user