diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-01-26 17:28:48 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-01-26 17:28:48 +0000 |
commit | 427a964c302dd6ec2359eb4a8318303b09bc9363 (patch) | |
tree | cd4a3f7f6b20b7d6c7e014dc424ebfe3c6f4e7b3 /src/backend/tcop/postgres.c | |
parent | 1d8a696fd555a664961f9d365de29dcc6689e15a (diff) | |
download | postgresql-427a964c302dd6ec2359eb4a8318303b09bc9363.tar.gz postgresql-427a964c302dd6ec2359eb4a8318303b09bc9363.zip |
|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);
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions