Re: [SPAM]Re: Questions about 9.0 release note

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: [SPAM]Re: Questions about 9.0 release note
Дата
Msg-id
201004010118.o311IZs16342@momjian.us
Ответ на
Список
Дерево обсуждения
Questions about 9.0 release note Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: Questions about 9.0 release note Alvaro Herrera <alvherre@commandprompt.com>
Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Re: [SPAM]Re: Questions about 9.0 release note Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: [SPAM]Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: [SPAM]Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: [SPAM]Re: Questions about 9.0 release note Tom Lane <tgl@sss.pgh.pa.us>
Re: [SPAM]Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: [SPAM]Re: Questions about 9.0 release note Tom Lane <tgl@sss.pgh.pa.us>
Re: [SPAM]Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: [SPAM]Re: Questions about 9.0 release note Thom Brown <thombrown@gmail.com>
Re: [SPAM]Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Re: [SPAM]Re: Questions about 9.0 release note "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: [SPAM]Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Re: Questions about 9.0 release note "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Questions about 9.0 release note Aidan Van Dyk <aidan@highrise.ca>
Re: Questions about 9.0 release note Bruce Momjian <bruce@momjian.us>
Re: Questions about 9.0 release note Robert Haas <robertmhaas@gmail.com>
Takahiro Itagaki wrote:
> 
> "Robert Haas"  wrote:
> 
> > > * (seq_page_cost/(random_page_cost))
> > > * EXCLUDE constraints has no tags to be linked.
> > > * "EXCLUDE constraints" is not indexed from the Index page.
> 
> > CREATE TABLE ... CONSTRAINT ... EXCLUDE rather than CREATE TABLE
> > CONSTRAINT ... EXCLUDE.
> 
> Here is a patch to fix the documentation.
> 
> For exclusion constraints, I added a tag "SQL-CREATETABLE-exclude"
> to  of EXCLUDE in CREATE TABLE documentation. Also,
> "Exclusion constraints" section is added to the constraints doc.
> But the section is very short and just links to the CREATE TABLE doc.
> We could move some contents from CREATE TABLE to the constraints doc.

I applied a clarified version of your submitted patch, attached.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
Index: doc/src/sgml/backup.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v
retrieving revision 2.144
diff -c -c -r2.144 backup.sgml
*** doc/src/sgml/backup.sgml	22 Feb 2010 17:15:10 -0000	2.144
--- doc/src/sgml/backup.sgml	31 Mar 2010 23:34:20 -0000
***************
*** 604,614 ****
      directory).
      It is advisable to test your proposed archive command to ensure that it
      indeed does not overwrite an existing file, and that it returns
!     nonzero status in this case</>.  We have found that cp -i</> does
!     this correctly on some platforms but not others.  If the chosen command
!     does not itself handle this case correctly, you should add a command
!     to test for existence of the archive file.  For example, something
!     like:
  
  archive_command = 'test ! -f .../%f && cp %p .../%f'
  
--- 604,615 ----
      directory).
      It is advisable to test your proposed archive command to ensure that it
      indeed does not overwrite an existing file, and that it returns
!     nonzero status in this case</>.  On many Unix platforms, cp
!     -i</> causes copy to prompt before overwriting a file, and
!     < /dev/null</> causes the prompt (and overwriting) to
!     fail.  If your platform does not support this behavior, you should
!     add a command to test for the existence of the archive file.  For
!     example, something like:
  
  archive_command = 'test ! -f .../%f && cp %p .../%f'
  
В списке pgsql-hackers по дате отправления
От: Fujii Masao
Дата:
От: Bruce Momjian
Дата:
FAQ