forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d0e7b4
committed
Please find attached a patch (diff -c against cvs HEAD) to add a
function that accepts a double precision argument assumed to be a Unixepoch timestamp and returns timestamp with time zone, and accompanyingdocumentation.Usage:test=# select to_timestamp(200120400); to_timestamp------------------------ 1976-05-05 14:00:00+09(1 row)Michael Glaesemann1 parent4a5cda7 commit4d0e7b4
2 files changed
+17
-2
lines changedLines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
4082 | 4082 |
| |
4083 | 4083 |
| |
4084 | 4084 |
| |
| 4085 | + | |
| 4086 | + | |
| 4087 | + | |
| 4088 | + | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
4085 | 4092 |
| |
4086 | 4093 |
| |
4087 | 4094 |
| |
| |||
4138 | 4145 |
| |
4139 | 4146 |
| |
4140 | 4147 |
| |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
| 4151 | + | |
| 4152 | + | |
| 4153 | + | |
4141 | 4154 |
| |
4142 | 4155 |
| |
4143 | 4156 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1459 | 1459 |
| |
1460 | 1460 |
| |
1461 | 1461 |
| |
| 1462 | + | |
| 1463 | + | |
1462 | 1464 |
| |
1463 | 1465 |
| |
1464 | 1466 |
| |
|
0 commit comments
Comments
(0)