Skip site navigation (1) Skip section navigation (2)

Re: Hex representation

From: Reece Hart <reece(at)harts(dot)net>
To: Steve Martin <steve(dot)martin(at)nec(dot)co(dot)nz>
Cc: Carol Walter <walterc(at)indiana(dot)edu>, "Plugge, Joe R(dot)" <JRPlugge(at)west(dot)com>, Steve Crawford <scrawford(at)pinpointresearch(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Hex representation
Date: 2008-09-30 04:17:23
Message-ID: 1222748243.7111.100.camel@snafu (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
I can't resist one-liner games.

$ perl -e 'print "U"x(256*1024)' >Us

or, if you specifically want to specify hex:
$ perl -e 'print chr(hex(55))x(256*1024)' >Us


Reece Hart,, GPG:0x25EC91A0

In response to

pgsql-admin by date

Next:From: Sam MasonDate: 2008-09-30 12:04:29
Subject: Re: PostgreSQL Cache
Previous:From: Steve CrawfordDate: 2008-09-29 23:57:53
Subject: Re: Do we need vacuuming when tables are regularly dropped?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group