[DOCS] Quick help with CVS?

2003-10-22 Thread Josh Berkus
Folks,

I can't seem to find the CVS command for telling a single file to revert to 
the version in the repository.  Help?

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [DOCS] Quick help with CVS?

2003-10-22 Thread Peter Eisentraut
Josh Berkus writes:

> I can't seem to find the CVS command for telling a single file to revert to
> the version in the repository.  Help?

It would normally be cvs update -A filename, but the postgresql.org CVS
server doesn't support this.  So I suggest 'rm && cvs update'.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [DOCS] Quick help with CVS?

2003-10-22 Thread Roberto Mello
On Wed, Oct 22, 2003 at 02:49:27PM -0700, Josh Berkus wrote:
> Folks,
> 
> I can't seem to find the CVS command for telling a single file to revert to 
> the version in the repository.  Help?

If you don't care about yor modifications, you can just rm the file then
"cvs update -Pd" to re-add it from the repository.

There are other ways too. See the CVS red book (available online).

-Roberto

-- 
+|Roberto Mello   -http://www.brasileiro.net/  |--+
+   Computer Science Graduate Student, Utah State University  +
+   USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ +
:.:..::..:::.:..:..:.:..:...:...:: => BRAILE TAGLINE!

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[DOCS] Why do we have "gcc default optimizations" docs?

2003-10-22 Thread Tom Lane
Does anyone remember the reason why we have this chapter in our docs?
http://developer.postgresql.org/docs/postgres/compiler.html

I have a suspicion that this is left over from some ancient time when
it was actually necessary to hack gcc in order to build Postgres
successfully.  I can't imagine why anyone would do this today, or why
they would use our documentation about it if they did want to do it.
The info is likely horribly obsolete anyway.  (There have been no
non-markup changes in the source file since it was put into our CVS
tree, nearly six years ago.)

In short: I wanna remove it.  Any objections?

regards, tom lane

---(end of broadcast)---
TIP 3: 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: [DOCS] Quick help with CVS?

2003-10-22 Thread Marc G. Fournier


On Thu, 23 Oct 2003, Peter Eisentraut wrote:

> Josh Berkus writes:
>
> > I can't seem to find the CVS command for telling a single file to revert to
> > the version in the repository.  Help?
>
> It would normally be cvs update -A filename, but the postgresql.org CVS

Huh?  Works for me:

%cvs update -rREL7_4_BETA4 HISTORY
U HISTORY
%cvs status HISTORY
===
File: HISTORY   Status: Up-to-date

   Working revision:1.219   Thu Oct 23 00:16:19 2003
   Repository revision: 1.219   /cvsroot/pgsql-server/HISTORY,v
   Sticky Tag:  REL7_4_BETA4 (revision: 1.219)
   Sticky Date: (none)
   Sticky Options:  (none)

%cvs update -A HISTORY
U HISTORY
%cvs status HISTORY
===
File: HISTORY   Status: Up-to-date

   Working revision:1.222   Thu Oct 23 00:16:29 2003
   Repository revision: 1.222   /cvsroot/pgsql-server/HISTORY,v
   Sticky Tag:  (none)
   Sticky Date: (none)
   Sticky Options:  (none)



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