Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG - Mailing list pgsql-novice

From felix@crowfix.com
Subject Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG
Date
Msg-id 20111103003920.GI5551@crowfix.com
Whole thread Raw
In response to Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG  (Daniel Staal <DStaal@usa.net>)
Responses Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG  (Bob McConnell <rmcconne@lightlink.com>)
List pgsql-novice
On Wed, Nov 02, 2011 at 08:23:09PM -0400, Daniel Staal wrote:
> --As of November 2, 2011 4:53:18 PM -0700, felix@crowfix.com is alleged to

> ># !/usr/bin/perl -w
>
> As the Perl guy at my office: You *do* know the difference between this and
> 'use warnings;', right?  And why the latter is almost always what you want?
> (Sorry, it's one of those things I've learned to jump on, as it's often
> just Cargo Cult Programming...)

It's been ages since I settled on -w instead of use warnings.  I know
there's a difference, I have some vague recollection of -w being
"better", whatever that means, but it's one of those things that I
have "known" for so long that I no longer know what I once knew :-)
All my perl books -- scratch that, I just googled for it.  -w is all
or nothing, and especially it enables warnings for modules which might
be better off without warnings.  So it says.

But that advice seems a mite stale nowadays.  It says use warnings was
introduced in 5.6, so any older modules will possibly barf, or any
newer modules which turn warnings off for their own reasons.  So why
would I care about this now?  I don't recollect any untoward warnings
in years of programming Perl.

--
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

pgsql-novice by date:

Previous
From: Daniel Staal
Date:
Subject: Re: DBI, savepoints, transactions, and AutoCommit -- NOT A BUG
Next
From: Doug Wiebe
Date:
Subject: Foreign key constraint violation when using table inheritance