projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94bc1c5
)
doc: Fix typos in make_timestamp{,tz} examples
author
Alvaro Herrera
Mon, 19 Jan 2015 15:43:58 +0000
(12:43 -0300)
committer
Alvaro Herrera
Mon, 19 Jan 2015 15:43:58 +0000
(12:43 -0300)
Pointed out by Alan Mogi (bug #12571)
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 96ba6dffdec03ac13be26c830e726ecf04e93527..6d4f331a647fc569db652d578f12811fc8dab892 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-6813,7
+6813,7
@@
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
Create timestamp from year, month, day, hour, minute and seconds fields
-
make_timestamp(
1-2
3, 7, 15, 8, 15, 23.5)
+
make_timestamp(
201
3, 7, 15, 8, 15, 23.5)
2013-07-15 08:15:23.5
@@
-6840,7
+6840,7
@@
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
and seconds fields. When
timezone
is not specified,
then current time zone is used.
-
make_timestamp
(1-2
3, 7, 15, 8, 15, 23.5)
+
make_timestamp
tz(201
3, 7, 15, 8, 15, 23.5)
2013-07-15 08:15:23.5+01