logo       

Re: int64 timestamp patch for contrib/pg_controldata: msg#00349

Subject: Re: int64 timestamp patch for contrib/pg_controldata
This has already been applied by Thomas Lockhart.

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

sugita@xxxxxxxxx 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@xxxxxxxxxxxxxxxx               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe