Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4F9E464FC24 for ; Wed, 24 Sep 2008 16:43:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 92972-05 for ; Wed, 24 Sep 2008 16:43:54 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.158]) by postgresql.org (Postfix) with ESMTP id 47C3F64FC1E for ; Wed, 24 Sep 2008 16:43:54 -0300 (ADT) Received: by po-out-1718.google.com with SMTP id y22so41146pof.3 for ; Wed, 24 Sep 2008 12:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=AhZEIXUfedWAElC7HUoO+Q5/ehaPHEJK5sq5jpbtIls=; b=TWqnbX9SQQh9zgpisI4NwHul/yZUdz+6kbo07Al0eoHBVnNo4xLUz3B/PR/rBx6bUx /4HEBjFiV7byQh6HPIijG7HjQTY8zgfmY5dIyhjXZMs/nUvX8x3I4mpiHgyXXhXPDpqt NdjK2V2L2lUWa31Sggti8wdyjr+qIlKP9KutQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=kkuLjKJIPDUU/jSfH6MlgaIQfsCTHvISjMOIM3EmsMbTOraFmECH8VUsPM3Ch3pdyn yLeVWnZ0/TrtG2QIR7SdX7wuEWbeWTF7UYBOwzim+TgcfrUcCuOuvVDeP1IpAMDtALCm mmBnD2TS8pvs3qUI0l6pg/FexOxsPJU7h5abs= Received: by 10.140.133.10 with SMTP id g10mr3687629rvd.170.1222285431935; Wed, 24 Sep 2008 12:43:51 -0700 (PDT) Received: by 10.141.74.11 with HTTP; Wed, 24 Sep 2008 12:43:51 -0700 (PDT) Message-ID: Date: Wed, 24 Sep 2008 13:43:51 -0600 From: "Scott Marlowe" To: "Carol Walter" Subject: Re: Hex representation Cc: pgsql-admin@postgresql.org In-Reply-To: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_100530_18441155.1222285431889" References: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/291 X-Sequence-Number: 30384 ------=_Part_100530_18441155.1222285431889 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I used this very simple little php script to make this filename: mk55: #!/usr/bin/php -q and ran it: ./mk55 > 55 ls -l 55 -rw-r--r-- 1 smarlowe smarlowe 262144 2008-09-24 13:41 55 i.e. it's 256k. And it's attached. On Wed, Sep 24, 2008 at 1:20 PM, Carol Walter wrote: > Hello, > > Does anyone know what the format of hex characters for postgres are? I'm > trying to create files that contain a 0x55. It looks to me like it should > require a delimiter of some sort between the characters. I don't know how > postgres would know that the string was a hex representation and not just a > character zero, followed by a character x, followed by a character 5, > followed by a character 5. > > Carol > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin > ------=_Part_100530_18441155.1222285431889 Content-Type: application/octet-stream; name=mk55 Content-Transfer-Encoding: base64 X-Attachment-Id: f_flid5lie0 Content-Disposition: attachment; filename=mk55 IyEvdXNyL2Jpbi9waHAgLXEKPD9waHAKZm9yICgkaT0wOyRpPDI2MjE0NDskaSsrKXsKICAgIHBy aW50IGNocig4NSk7Cn0KPz4K ------=_Part_100530_18441155.1222285431889--