mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Update SELECT version() to show whether it is a 32 or 64-bit backend binary.
This commit is contained in:
parent
02aa5f19c6
commit
b32a290bdf
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl $PostgreSQL: pgsql/configure.in,v 1.579 2009/01/05 10:25:59 petere Exp $
|
dnl $PostgreSQL: pgsql/configure.in,v 1.580 2009/01/06 03:05:23 momjian Exp $
|
||||||
dnl
|
dnl
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -496,8 +496,10 @@ if test x"$GCC" = x"yes" ; then
|
|||||||
else
|
else
|
||||||
cc_string=$CC
|
cc_string=$CC
|
||||||
fi
|
fi
|
||||||
|
AC_CHECK_SIZEOF([void *])
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(PG_VERSION_STR,
|
AC_DEFINE_UNQUOTED(PG_VERSION_STR,
|
||||||
["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string"],
|
["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"],
|
||||||
[A string containing the version number, platform, and C compiler])
|
[A string containing the version number, platform, and C compiler])
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.47 2008/05/16 17:17:00 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.48 2009/01/06 03:05:23 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="tutorial-start">
|
<chapter id="tutorial-start">
|
||||||
<title>Getting Started</title>
|
<title>Getting Started</title>
|
||||||
@ -362,9 +362,9 @@ mydb=#
|
|||||||
<indexterm><primary>version</primary></indexterm>
|
<indexterm><primary>version</primary></indexterm>
|
||||||
<screen>
|
<screen>
|
||||||
<prompt>mydb=></prompt> <userinput>SELECT version();</userinput>
|
<prompt>mydb=></prompt> <userinput>SELECT version();</userinput>
|
||||||
version
|
version
|
||||||
----------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96
|
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96, 32-bit
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
<prompt>mydb=></prompt> <userinput>SELECT current_date;</userinput>
|
<prompt>mydb=></prompt> <userinput>SELECT current_date;</userinput>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user