Re: int64 timestamp patch for contrib/pg_controldata

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: sugita(at)sra(dot)co(dot)jp
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: int64 timestamp patch for contrib/pg_controldata
Date: 2002-07-31 03:34:02
Message-ID: 200207310334.g6V3Y2N25868@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

sugita(at)sra(dot)co(dot)jp wrote:
> This small patch makes the pg_controldata display the enableIntTimes field of
> ControlFileData.
>

> ? int64-timestamp.patch
> ? make-install.out
> ? make.out
> ? pg_controldata
> Index: pg_controldata.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql/contrib/pg_controldata/pg_controldata.c,v
> retrieving revision 1.5
> diff -u -3 -p -r1.5 pg_controldata.c
> --- pg_controldata.c 2001/10/25 05:49:19 1.5
> +++ pg_controldata.c 2002/06/22 07:49:30
> @@ -108,6 +108,7 @@ main(int argc, char *argv[])
> "Time of latest checkpoint: %s\n"
> "Database block size: %u\n"
> "Blocks per segment of large relation: %u\n"
> + "Internal time format: %s\n"
> "LC_COLLATE: %s\n"
> "LC_CTYPE: %s\n",
>
> @@ -131,6 +132,7 @@ main(int argc, char *argv[])
> ckpttime_str,
> ControlFile.blcksz,
> ControlFile.relseg_size,
> + ControlFile.enableIntTimes = TRUE ? "64 bits integer" : "8 bytes double",
> ControlFile.lc_collate,
> ControlFile.lc_ctype);
>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2002-07-31 05:24:36 SQL99 CONVERT patch
Previous Message Bruce Momjian 2002-07-31 01:06:43 Re: small psql patch - show Schema name for \dt \dv \dS