Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
60200784
Commit
60200784
authored
19 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Convert explanation of interval change into something resembling grammatical
English, and fix the incorrect example.
parent
6a9b93a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/release.sgml
+13
-12
13 additions, 12 deletions
doc/src/sgml/release.sgml
with
13 additions
and
12 deletions
doc/src/sgml/release.sgml
+
13
−
12
View file @
60200784
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.39
2
2005/10/25 1
5:12:22 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.39
3
2005/10/25 1
7:54:30 tgl
Exp $
Typical markup:
Typical markup:
...
@@ -1147,7 +1147,7 @@ psql -t -f fixseq.sql db1 | psql -e db1
...
@@ -1147,7 +1147,7 @@ psql -t -f fixseq.sql db1 | psql -e db1
SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
</programlisting>
</programlisting>
In the above query, the time zone used is adjusted based on the
In the above query, the time zone used is adjusted based on the
daylight saving
s
time rules that were in effect on the supplied
daylight saving time rules that were in effect on the supplied
date.
date.
</para>
</para>
</listitem>
</listitem>
...
@@ -1206,21 +1206,22 @@ psql -t -f fixseq.sql db1 | psql -e db1
...
@@ -1206,21 +1206,22 @@ psql -t -f fixseq.sql db1 | psql -e db1
<listitem>
<listitem>
<para>
<para>
Add a
n internal
day field to <type>
INTERVAL
</> so a one day
Add a
separate
day field to
type
<type>
interval
</> so a one day
interval can be distinguished from a 24 hour interval (Michael
interval can be distinguished from a 24 hour interval (Michael
Glaesemann)
Glaesemann)
</para>
</para>
<para>
<para>
Dates that contain a daylight savings time adjustment are not 24
Days that contain a daylight saving time adjustment are not 24
hours, but typically 23 or 25 hours. This change allows numeric days
hours long, but typically 23 or 25 hours. This change creates a
(not fixed 24-hour periods) to be added to dates which include
conceptual distinction between intervals of <quote>so many days</>
a daylight savings time adjustment period. Therefore, while in
and intervals of <quote>so many hours</>. Adding
previous releases <literal>1 day</> and <literal>24 hours</> were
<literal>1 day</> to a timestamp now gives the same local time on
interchangeable interval values, in this release they are treated
the next day even if a daylight saving time adjustment occurs
differently, e.g.
between, whereas adding <literal>24 hours</> will give a different
local time when this happens. For example, under US DST rules:
<programlisting>
<programlisting>
'2005-0
5
-03 00:00:00
EST
' + '1 day' = '2005-0
5
-04 00:00:00-04'
'2005-0
4
-03 00:00:00
-05
' + '1 day' = '2005-0
4
-04 00:00:00-04'
'2005-0
5
-03 00:00:00
EST
' + '24 hours' = '2005-0
5
-04 01:00:00-04'
'2005-0
4
-03 00:00:00
-05
' + '24 hours' = '2005-0
4
-04 01:00:00-04'
</programlisting>
</programlisting>
</para>
</para>
</listitem>
</listitem>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment