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
7090c3e8
Commit
7090c3e8
authored
Aug 11, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make debug_assertions default to ON, when compiled in at all, for
backwards compatibility with old behavior.
parent
b0d5036c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+6
-3
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+4
-4
No files found.
doc/src/sgml/runtime.sgml
View file @
7090c3e8
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.1
7 2000/07/22 14:49:00 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.1
8 2000/08/11 18:31:06 tgl
Exp $
-->
<Chapter Id="runtime">
...
...
@@ -683,8 +683,11 @@ env PGOPTIONS='--geqo=off' psql
Turns on various assertion checks. This is a debugging aid. If
you are experiencing strange problems or crashes you might
want to turn this on, as it might expose programming mistakes.
To use this option, the macro <literal>USE_ASSERT_CHECKING</>
must be defined when Postgres is built.
To use this option, the macro <literal>USE_ASSERT_CHECKING</literal>
must be defined when Postgres is built (see the configure option
<literal>--enable-cassert</literal>). Note that
<literal>DEBUG_ASSERTIONS</literal> defaults to ON if Postgres
has been built this way.
</para>
</listitem>
</varlistentry>
...
...
src/backend/utils/misc/guc.c
View file @
7090c3e8
...
...
@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.
7 2000/07/14 15:43:47 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.
8 2000/08/11 18:31:10 tgl
Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
...
...
@@ -38,7 +38,7 @@ extern bool Log_connections;
* Debugging options
*/
#ifdef USE_ASSERT_CHECKING
bool
assert_enabled
;
bool
assert_enabled
=
true
;
#endif
bool
Debug_print_query
=
false
;
bool
Debug_print_plan
=
false
;
...
...
@@ -52,7 +52,7 @@ bool Show_executor_stats = false;
bool
Show_query_stats
=
false
;
/* this is sort of all three above together */
bool
Show_btree_build_stats
=
false
;
bool
SQL_inheritance
;
bool
SQL_inheritance
=
true
;
enum
config_type
...
...
@@ -161,7 +161,7 @@ ConfigureNamesBool[] =
{
"log_pid"
,
PGC_SIGHUP
,
&
Log_pid
,
false
},
#ifdef USE_ASSERT_CHECKING
{
"debug_assertions"
,
PGC_USERSET
,
&
assert_enabled
,
fals
e
},
{
"debug_assertions"
,
PGC_USERSET
,
&
assert_enabled
,
tru
e
},
#endif
{
"debug_print_query"
,
PGC_USERSET
,
&
Debug_print_query
,
false
},
...
...
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