aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/installation.sgml2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index 70ab5b77d86..713952f1074 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -3001,7 +3001,7 @@ ninja install
<listitem>
<para>
This option can be used to specify the buildtype to use; defaults to
- <option>release</option>. If you'd like finer control on the debug
+ <option>debugoptimized</option>. If you'd like finer control on the debug
symbols and optimization levels than what this option provides, you
can refer to the <option>--debug</option> and
<option>--optimization</option> flags.
diff --git a/meson.build b/meson.build
index 61e94be8641..5e708d90450 100644
--- a/meson.build
+++ b/meson.build
@@ -18,7 +18,7 @@ project('postgresql',
default_options: [
'warning_level=1', #-Wall equivalent
'b_pch=false',
- 'buildtype=release',
+ 'buildtype=debugoptimized', # -O2 + debug
# For compatibility with the autoconf build, set a default prefix. This
# works even on windows, where it's a drive-relative path (i.e. when on
# d:/somepath it'll install to d:/usr/local/pgsql)