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

bytea functions documentation

From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: "pgsql-patches(at)postgresql(dot)org" <pgsql-patches(at)postgresql(dot)org>
Subject: bytea functions documentation
Date: 2001-11-20 04:34:02
Message-ID: 3BF9DD3A.3040000@home.com (view raw or flat)
Thread:
Lists: pgsql-patches
Here's my first attempt at a documentation patch :-)

I've created a new section to func.sgml, "Binary String Functions and 
Operators", plagiarized shamelessly from the "String Functions and 
Operators" section. There were enough differences that it made sense (at 
least to me) to give this its own section instead of cramming it in with 
normal string functions. This way I could also make the examples 
relevant, which is particularly important for bytea.

One thing I think worth mentioning: while documenting the trim() 
function I realized that I never implemented the bytea equivalent of 
rtrim and ltrim. Therefore, the 'leading' and 'trailing' forms of trim, 
available with text, are not available with bytea (I'd be happy to 
correct this, but since it would require an initdb, I guess not until 
7.3) -- the submitted doc accurately reflects this.

I will look for other areas of the docs that need mention of bytea, but 
any guidance would be much appreciated.


regards,

-- Joe

Attachment: func.sgml.diff
Description: text/html (7.3 KB)

Responses

pgsql-patches by date

Next:From: Marc G. FournierDate: 2001-11-20 05:49:23
Subject: Re: Can anybody see my path two days before?
Previous:From: Weiping HeDate: 2001-11-20 04:13:35
Subject: Re: Can anybody see my path two days before?

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