Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1/*-------------------------------------------------------------------------
2 *
3 * recovery_gen.c
4 * Generator for recovery configuration
5 *
6 * Portions Copyright (c) 2011-2025, PostgreSQL Global Development Group
7 *
8 *-------------------------------------------------------------------------
9 */
10#include "postgres_fe.h"
11
12#include "common/logging.h"
…lines 13–237 unchanged (225 lines)

After

1/*-------------------------------------------------------------------------
2 *
3 * recovery_gen.c
4 * Generator for recovery configuration
5 *
6 * Portions Copyright (c) 2011-2026, PostgreSQL Global Development Group
7 *
8 *-------------------------------------------------------------------------
9 */
10#include "postgres_fe.h"
11
12#include "common/logging.h"
…lines 13–237 unchanged (225 lines)

Before

translation_unit
comment "/*----------------------------------------------------------"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "postgres_fe.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "common/logging.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "fe_utils/recovery_gen.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "fe_utils/string_utils.h"
" "\""
declaration
storage_class_specifier
static "static"
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "escape_quotes"
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
primitive_type "char"
pointer_declarator
* "*"
identifier "src"
) ")"
; ";"
declaration
storage_class_specifier
static "static"
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "FindDbnameInConnOpts"
parameter_list
( "("
parameter_declaration
type_identifier "PQconninfoOption"
pointer_declarator
* "*"
identifier "conn_opts"
) ")"
; ";"
comment "/*\n * Write recovery configuration contents into a fresh PQE"...
function_definition (+558 nodes collapsed)
comment "/*\n * Write the configuration file in the directory specifie"...
function_definition (+287 nodes collapsed)
comment "/*\n * Escape a string so that it can be used as a value in a"...
function_definition (+58 nodes collapsed)
comment "/*\n * FindDbnameInConnOpts\n *\n * This is a helper function f"...
function_definition (+112 nodes collapsed)
comment "/*\n * GetDbnameFromConnectionOptions\n *\n * This is a special"...
function_definition (+173 nodes collapsed)

After

translation_unit
comment "/*----------------------------------------------------------"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "postgres_fe.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "common/logging.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "fe_utils/recovery_gen.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "fe_utils/string_utils.h"
" "\""
declaration
storage_class_specifier
static "static"
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "escape_quotes"
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
primitive_type "char"
pointer_declarator
* "*"
identifier "src"
) ")"
; ";"
declaration
storage_class_specifier
static "static"
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "FindDbnameInConnOpts"
parameter_list
( "("
parameter_declaration
type_identifier "PQconninfoOption"
pointer_declarator
* "*"
identifier "conn_opts"
) ")"
; ";"
comment "/*\n * Write recovery configuration contents into a fresh PQE"...
function_definition (+558 nodes collapsed)
comment "/*\n * Write the configuration file in the directory specifie"...
function_definition (+287 nodes collapsed)
comment "/*\n * Escape a string so that it can be used as a value in a"...
function_definition (+58 nodes collapsed)
comment "/*\n * FindDbnameInConnOpts\n *\n * This is a helper function f"...
function_definition (+112 nodes collapsed)
comment "/*\n * GetDbnameFromConnectionOptions\n *\n * This is a special"...
function_definition (+173 nodes collapsed)