Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG #4040: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3754 of 3939
Post > Topic >>

Re: BUG #4040: psql should provide option to not

by bruce@[EMAIL PROTECTED] (Bruce Momjian) May 7, 2008 at 08:28 PM

--ELM1210206503-4574-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"

Tom Lane wrote:
> Alvaro Herrera <alvherre@[EMAIL PROTECTED]
> 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@[EMAIL PROTECTED]
>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

--ELM1210206503-4574-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/x-diff
Content-Disposition: inline; filename="/rtmp/diff"

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>

--ELM1210206503-4574-0_
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--ELM1210206503-4574-0_--
 




 1 Posts in Topic:
Re: BUG #4040: psql should provide option to not
bruce@[EMAIL PROTECTED]   2008-05-07 20:28:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 1:43:00 CDT 2008.