mirror of
https://github.com/postgres/postgres.git
synced 2025-06-20 15:22:23 +03:00
Doc: Fix some inconsistencies with markups
This addresses some whitespace issues with programlisting, and corrects the spelling of "Enter PEM pass phrase" to be consistent with the code. Author: Daniel Gustafsson Discussion: https://postgr.es/m/401F9024-20EA-4239-83C4-6B7AD35F94BD@yesql.se
This commit is contained in:
@ -2095,11 +2095,15 @@ January 8 04:05:06 1999 PST
|
||||
<quote>+</quote> or <quote>-</quote> symbol and time zone offset after
|
||||
the time. Hence, according to the standard,
|
||||
|
||||
<programlisting>TIMESTAMP '2004-10-19 10:23:54'</programlisting>
|
||||
<programlisting>
|
||||
TIMESTAMP '2004-10-19 10:23:54'
|
||||
</programlisting>
|
||||
|
||||
is a <type>timestamp without time zone</type>, while
|
||||
|
||||
<programlisting>TIMESTAMP '2004-10-19 10:23:54+02'</programlisting>
|
||||
<programlisting>
|
||||
TIMESTAMP '2004-10-19 10:23:54+02'
|
||||
</programlisting>
|
||||
|
||||
is a <type>timestamp with time zone</type>.
|
||||
<productname>PostgreSQL</productname> never examines the content of a
|
||||
@ -2108,7 +2112,9 @@ January 8 04:05:06 1999 PST
|
||||
ensure that a literal is treated as <type>timestamp with time
|
||||
zone</type>, give it the correct explicit type:
|
||||
|
||||
<programlisting>TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'</programlisting>
|
||||
<programlisting>
|
||||
TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'
|
||||
</programlisting>
|
||||
|
||||
In a literal that has been determined to be <type>timestamp without time
|
||||
zone</type>, <productname>PostgreSQL</productname> will silently ignore
|
||||
|
@ -7667,10 +7667,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
|
||||
may be provided in the <xref linkend="libpq-connect-sslpassword"/> connection
|
||||
option. If an encrypted key is supplied and the <literal>sslpassword</literal>
|
||||
option is absent or blank, a password will be prompted for interactively by
|
||||
OpenSSL with a
|
||||
<programlisting>
|
||||
Enter PEM Passphrase:
|
||||
</programlisting>
|
||||
OpenSSL with a <literal>Enter PEM pass phrase:</literal>
|
||||
prompt if a TTY is available. Applications can override the client certificate
|
||||
prompt and the handling of the <literal>sslpassword</literal> parameter by supplying
|
||||
their own key password callback; see <xref linkend="libpq-pqsetsslkeypasshook"/>.
|
||||
|
Reference in New Issue
Block a user