Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c88e38

Browse files
committed
Add more documentation about CURRENT_TIMESTAMP.
Also, code < and > as &lt;/&gt; for cleaner SGML.
1 parent82df2dd commit0c88e38

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.126 2002/09/24 20:14:58 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.127 2002/10/05 19:03:16 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -491,11 +491,11 @@ PostgreSQL documentation
491491
<entry>01110</entry>
492492
</row>
493493
<row>
494-
<entry>B'10001'<< 3</entry>
494+
<entry>B'10001'&lt;&lt; 3</entry>
495495
<entry>01000</entry>
496496
</row>
497497
<row>
498-
<entry>B'10001'>> 2</entry>
498+
<entry>B'10001'&gt;&gt; 2</entry>
499499
<entry>00100</entry>
500500
</row>
501501
</tbody>
@@ -2726,7 +2726,7 @@ SUBSTRING('foobar' FROM 'o(.)b') <lineannotation>o</lineannotation>
27262726

27272727
<para>
27282728
There are two special cases of bracket expressions: the bracket
2729-
expressions <literal>[[:<:]]</literal> and
2729+
expressions <literal>[[:&lt;:]]</literal> and
27302730
<literal>[[:>:]]</literal> match the null string at the beginning
27312731
and end of a word respectively. A word is defined as a sequence
27322732
of word characters which is neither preceded nor followed by word
@@ -3277,11 +3277,11 @@ SUBSTRING('foobar' FROM 'o(.)b') <lineannotation>o</lineannotation>
32773277
</row>
32783278
<row>
32793279
<entry><literal>MI</literal></entry>
3280-
<entry>minus sign in specified position (if number< 0)</entry>
3280+
<entry>minus sign in specified position (if number&lt; 0)</entry>
32813281
</row>
32823282
<row>
32833283
<entry><literal>PL</literal></entry>
3284-
<entry>plus sign in specified position (if number> 0)</entry>
3284+
<entry>plus sign in specified position (if number&gt; 0)</entry>
32853285
</row>
32863286
<row>
32873287
<entry><literal>SG</literal></entry>
@@ -4293,13 +4293,18 @@ SELECT timeofday();
42934293
</informalexample>
42944294

42954295
<para>
4296-
It isquiteimportant to realize that
4297-
<function>CURRENT_TIMESTAMP</function> and related functionsallreturn
4298-
thetime as of thestart of the current transaction; their values do not
4299-
increment while a transaction is running. But
4300-
<function>timeofday()</function>returns theactual current time.
4296+
It is important to realize that
4297+
<function>CURRENT_TIMESTAMP</function> and related functions return
4298+
the start time of the current transaction; their values do not
4299+
change during the transaction. <function>timeofday()</function>
4300+
returns thewall clock time and does advance during transactions.
43014301
</para>
43024302

4303+
<note>
4304+
Many other database systems advance these values more
4305+
frequently.
4306+
</note>
4307+
43034308
<para>
43044309
All the date/time data types also accept the special literal value
43054310
<literal>now</literal> to specify the current date and time. Thus,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp