forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit427a964
committed
|From: Keith Parks <emkxp01@mtcc.demon.co.uk>
|Subject: [PATCH] adding SYS_TIME just for fun.||Hi,||Whilst I was playing round with the European dates patch I noticed the sysfunc()|that allows you to do :-||create table test ( da date);|insert into test values (SYS_DATE);||and have the current system date inserted.||So I thought it would be nice to have the SYS_TIME facility too.||I've cloned the function and changed a few things and there you have it,|you can now do:||create table test2 ( ti time);|insert into test2 values (SYS_TIME);1 parent1d8a696 commit427a964
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
48 | 62 |
| |
49 | 63 |
| |
50 | 64 |
| |
51 | 65 |
| |
| 66 | + | |
| 67 | + | |
52 | 68 |
| |
53 | 69 |
| |
54 | 70 |
| |
|
0 commit comments
Comments
(0)