diff options
Diffstat (limited to 'src/timezone/strftime.c')
-rw-r--r-- | src/timezone/strftime.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/timezone/strftime.c b/src/timezone/strftime.c index 3b505364ef6..791b076e8ed 100644 --- a/src/timezone/strftime.c +++ b/src/timezone/strftime.c @@ -15,7 +15,7 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.3 2004/05/21 20:59:10 tgl Exp $ + * $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.4 2004/06/03 02:08:07 tgl Exp $ */ #include "postgres.h" @@ -265,21 +265,6 @@ _fmt(const char *format, const struct pg_tm * t, char *pt, const char *ptlim, case 'S': pt = _conv(t->tm_sec, "%02d", pt, ptlim); continue; - case 's': - { - struct pg_tm tm; - char buf[INT_STRLEN_MAXIMUM(time_t) +1]; - time_t mkt; - - tm = *t; - mkt = pg_mktime(&tm); - if (TYPE_SIGNED(time_t)) - (void) sprintf(buf, "%ld", (long) mkt); - else - (void) sprintf(buf, "%lu", (unsigned long) mkt); - pt = _add(buf, pt, ptlim); - } - continue; case 'T': pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp); continue; |