Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
155e56bd
Commit
155e56bd
authored
Dec 02, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation suggestions for debugging the backend.
Tom Lane, with minor adjustments by me.
parent
b6f9834a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+17
-4
No files found.
doc/src/sgml/installation.sgml
View file @
155e56bd
...
...
@@ -1415,10 +1415,23 @@ su - postgres
<
note
>
<
para
>
Server
developers
should
consider
using
the
configure
options
<
option
>--
enable
-
cassert
</>
and
<
option
>--
enable
-
debug
</>
to
enhance
the
ability
to
detect
and
debug
server
errors
.
Your
debugger
might
also
require
specific
compiler
flags
to
produce
useful
output
.
When
developing
code
inside
the
server
,
it
is
recommended
to
use
the
configure
options
<
option
>--
enable
-
cassert
</>
(
which
turns
on
many
run
-
time
error
checks
)
and
<
option
>--
enable
-
debug
</>
(
which
improves
the
usefulness
of
debugging
tools
).
</
para
>
<
para
>
If
using
GCC
,
it
is
best
to
build
with
an
optimization
level
of
at
least
<
option
>-
O1
</>,
because
using
no
optimization
(<
option
>-
O0
</>)
disables
some
important
compiler
warnings
(
such
as
the
use
of
uninitialized
variables
).
However
,
non
-
zero
optimization
levels
can
complicate
debugging
because
stepping
through
compiled
code
will
usually
not
match
up
one
-
to
-
one
with
source
code
lines
.
If
you
get
confused
while
trying
to
debug
optimized
code
,
recompile
the
specific
files
of
interest
with
<
option
>-
O0
</>.
An
easy
way
to
do
this
is
by
passing
an
option
to
<
application
>
make
</>:
<
command
>
gmake
PROFILE
=-
O0
file
.
o
</>.
</
para
>
</
note
>
</
step
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment