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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: BUG #4040: psql should provide option to not prompt for password


  • From: Bruce Momjian <bruce(at)momjian(dot)us>
  • To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org, Mika Fischer <mf+ubuntu(at)zoopnet(dot)de>
  • Subject: Re: BUG #4040: psql should provide option to not prompt for password
  • Date: Wed, 7 May 2008 20:28:23 -0400 (EDT)
  • Message-id: <200805080028(dot)m480SNE04970(at)momjian(dot)us>

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > BTW while reading the psql manpage I noticed this statement:
> 
> >        A popular application of this facility is to refer to  the  last
> >        inserted OID in subsequent statements to build a foreign key
> >        scenario.
> 
> > (This refers to :foo interpolation.)  Talking about popular application
> > of OIDs in FKs seems so 90's.  Should we remove that phrase?
> 
> Yeah, probably; it's been a very long time since that was considered
> a good way to do things.  Can you think of some other example to replace
> that with?

I have removed the mention of OID usage with the attached patch.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ref/psql-ref.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v
retrieving revision 1.201
diff -c -c -r1.201 psql-ref.sgml
*** doc/src/sgml/ref/psql-ref.sgml	5 May 2008 01:38:08 -0000	1.201
--- doc/src/sgml/ref/psql-ref.sgml	8 May 2008 00:19:55 -0000
***************
*** 2440,2448 ****
      </para>
  
      <para>
!     A popular application of this facility is to refer to the last
!     inserted <acronym>OID</acronym> in subsequent statements to build a
!     foreign key scenario. Another possible use of this mechanism is to
      copy the contents of a file into a table column. First load the file into a
      variable and then proceed as above:
  <programlisting>
--- 2440,2446 ----
      </para>
  
      <para>
!     One  possible use of this mechanism is to
      copy the contents of a file into a table column. First load the file into a
      variable and then proceed as above:
  <programlisting>


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group