Re: [DOCS] [HACKERS] "May", "can", "might"

2007-02-05 Thread Gregory Stark

"Bruce Momjian" <[EMAIL PROTECTED]> writes:

> (Who says were obsessive?)  :-)

I may not fall into your clever trap...

-- 
  Gregory Stark
  EnterpriseDB  http://www.enterprisedb.com

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"Tom Lane" <[EMAIL PROTECTED]> writes:

> David Fetter <[EMAIL PROTECTED]> writes:
>> I haven't included the customary diffs.  This points me to some of the
>> many deficiencies of CVS, namely that I would need write access in
>> order to have it create a diff,
>
> Strange, it works fine for everyone else.

If you have rsh/ssh access to a CVS repository then you do in fact need write
access just to generate diffs. It is one of the annoyances of CVS but it
doesn't really matter for Postgres where we use pserver anonymous access.

Personally I find CVS so terribly slow for large trees like Postgres that it's
essential to use rsync to maintain a local CVS repository. That makes 'cvs
diff' remarkably fast.

-- 
  Gregory Stark
  EnterpriseDB  http://www.enterprisedb.com


---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"Heikki Linnakangas" <[EMAIL PROTECTED]> writes:

> You need write-access to add files, even on anonymouse server. We often get
> patches with new files as separate attachments because of that.

Oh quite right. I had forgotten but that was the original reason I switched to
using rsync. The alternative is to manually edit the Entries files to list the
new files.

-- 
  Gregory Stark
  EnterpriseDB  http://www.enterprisedb.com


---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"David Fetter" <[EMAIL PROTECTED]> writes:

> On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote:
>> Jim C. Nasby wrote:
>> >BTW, is there some trick to getting cvs diff to ignore files that
>> >aren't in the repo?
>> 
>> Trick? That's what it does by default.
>
> I suspect he's talking about all the lines starting with '?' that diff
> produces.
>
> Lacking sophistication, I've been known to do:
>
> cvs diff [list of files here] |grep -v '^?' > the_file.diff

Those lines go to stderr. If you do "cvs diff > file" it spits out all the cvs
file statuses to the terminal but dumps the diff to the file.

It doesn't matter, diffs can contain arbitrary junk between the file diffs.
patch only looks at the things it recognizes.


-- 
  Gregory Stark
  EnterpriseDB  http://www.enterprisedb.com


---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org