Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
06f008e1
Commit
06f008e1
authored
Nov 08, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spacing improvements
parent
d65df978
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
doc/src/sgml/datatype.sgml
doc/src/sgml/datatype.sgml
+13
-15
No files found.
doc/src/sgml/datatype.sgml
View file @
06f008e1
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.6
7 2001/10/30 20:13:44 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.6
8 2001/11/08 23:36:55 petere
Exp $
-->
-->
<chapter id="datatype">
<chapter id="datatype">
...
@@ -1440,17 +1440,17 @@ SELECT b, char_length(b) FROM test2;
...
@@ -1440,17 +1440,17 @@ SELECT b, char_length(b) FROM test2;
<literal>BC</literal>, followed by an optional time zone. (See below.)
<literal>BC</literal>, followed by an optional time zone. (See below.)
Thus
Thus
<programlisting>
<programlisting>
1999-01-08 04:05:06
1999-01-08 04:05:06
</programlisting>
</programlisting>
is a valid <type>timestamp without time zone</type> value that
is a valid <type>timestamp without time zone</type> value that
is <acronym>ISO</acronym>-compliant.
is <acronym>ISO</acronym>-compliant.
In addition, the wide-spread format
In addition, the wide-spread format
<programlisting>
<programlisting>
January 8 04:05:06 1999 PST
January 8 04:05:06 1999 PST
</programlisting>
</programlisting>
is supported.
is supported.
</para>
</para>
...
@@ -1476,16 +1476,16 @@ January 8 04:05:06 1999 PST
...
@@ -1476,16 +1476,16 @@ January 8 04:05:06 1999 PST
<literal>BC</literal>, followed by an optional time zone. (See below.)
<literal>BC</literal>, followed by an optional time zone. (See below.)
Thus
Thus
<programlisting>
<programlisting>
1999-01-08 04:05:06 -8:00
1999-01-08 04:05:06 -8:00
</programlisting>
</programlisting>
is a valid <type>timestamp</type> value that is <acronym>ISO</acronym>-compliant.
is a valid <type>timestamp</type> value that is <acronym>ISO</acronym>-compliant.
In addition, the wide-spread format
In addition, the wide-spread format
<programlisting>
<programlisting>
January 8 04:05:06 1999 PST
January 8 04:05:06 1999 PST
</programlisting>
</programlisting>
is supported.
is supported.
</para>
</para>
...
@@ -1532,10 +1532,10 @@ January 8 04:05:06 1999 PST
...
@@ -1532,10 +1532,10 @@ January 8 04:05:06 1999 PST
<para>
<para>
<type>interval</type>s can be specified with the following syntax:
<type>interval</type>s can be specified with the following syntax:
<programlisting>
<programlisting>
Quantity Unit [Quantity Unit...] [Direction]
Quantity Unit [Quantity Unit...] [Direction]
@ Quantity Unit [Direction]
@ Quantity Unit [Direction]
</programlisting>
</programlisting>
where: <literal>Quantity</literal> is ..., <literal>-1</literal>,
where: <literal>Quantity</literal> is ..., <literal>-1</literal>,
<literal>0</literal>, <literal>1</literal>, <literal>2</literal>, ...;
<literal>0</literal>, <literal>1</literal>, <literal>2</literal>, ...;
...
@@ -1856,9 +1856,9 @@ January 8 04:05:06 1999 PST
...
@@ -1856,9 +1856,9 @@ January 8 04:05:06 1999 PST
<listitem>
<listitem>
<para>
<para>
The <acronym>SQL92</acronym> qualifier on
The <acronym>SQL92</acronym> qualifier on
<programlisting>
<programlisting>
<replaceable>timestamp</replaceable> AT TIME ZONE '<replaceable>zone</replaceable>'
<replaceable>timestamp</replaceable> AT TIME ZONE '<replaceable>zone</replaceable>'
</programlisting>
</programlisting>
where <replaceable>zone</replaceable> can be specified as a
where <replaceable>zone</replaceable> can be specified as a
text time zone (e.g. <literal>'PST'</literal>) or as an
text time zone (e.g. <literal>'PST'</literal>) or as an
interval (e.g. <literal>INTERVAL '-08:00'</literal>).
interval (e.g. <literal>INTERVAL '-08:00'</literal>).
...
@@ -1867,7 +1867,6 @@ January 8 04:05:06 1999 PST
...
@@ -1867,7 +1867,6 @@ January 8 04:05:06 1999 PST
</itemizedlist>
</itemizedlist>
</para>
</para>
<para>
<note>
<note>
<para>
<para>
If an invalid time zone is specified,
If an invalid time zone is specified,
...
@@ -1882,7 +1881,6 @@ January 8 04:05:06 1999 PST
...
@@ -1882,7 +1881,6 @@ January 8 04:05:06 1999 PST
Australian time zones, not American ones.
Australian time zones, not American ones.
</para>
</para>
</note>
</note>
</para>
</sect2>
</sect2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment