Closed
Bug 361175
Opened 19 years ago
Closed 19 years ago
[PostgreSQL] Too many "NOTICE" messages from checksetup.pl
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: mkanat, Assigned: mkanat)
Details
Attachments
(1 file, 1 obsolete file)
756 bytes,
patch
|
bugzilla-mozilla
:
review+
|
Details | Diff | Splinter Review |
I *finally* found out today how to stop the "NOTICE" messages from printing in checksetup.pl:
$ENV{PGOPTIONS}='-c client_min_messages=warning'
Comment 1•19 years ago
|
||
man DBD::Pg has some information on how to set PGOPTIONS as a DBI connect 'options' parameter. I think that is cleaner than setting an environment variable.
Assignee | ||
Comment 2•19 years ago
|
||
I assert that I've tested this, and that it does what it's supposed to do.
It's going to make Pg users so much happier. I hate those darn NOTICE messages.
So, Colin, could you just look this over and assert that it looks like perl?
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #245915 -
Flags: review?(colin.ogilvie)
Comment 3•19 years ago
|
||
Comment on attachment 245915 [details] [diff] [review]
v1
r=me by inspection - looks like Perl to me.
Attachment #245915 -
Flags: review?(colin.ogilvie) → review+
Assignee | ||
Updated•19 years ago
|
Flags: approval?
Assignee | ||
Comment 4•19 years ago
|
||
Okay, actually, I'm going to go with bkor's suggestion instead.
Flags: approval?
Assignee | ||
Comment 5•19 years ago
|
||
Okay. It actually ended up being trivial to do it that way.
Attachment #245915 -
Attachment is obsolete: true
Attachment #245916 -
Flags: review?(bugzilla-mozilla)
Comment 6•19 years ago
|
||
Comment on attachment 245916 [details] [diff] [review]
v2
Tested, works.
Attachment #245916 -
Flags: review?(bugzilla-mozilla) → review+
Updated•19 years ago
|
Flags: approval?
![]() |
||
Comment 7•19 years ago
|
||
This would probably make sense to also commit this patch on the 2.22 branch, assuming the patch works there too (and with Pg 7.3.x!).
Comment 8•19 years ago
|
||
I agree with LpSolit, go for this on 2.22 as well if it's applicable.
Flags: approval? → approval+
Assignee | ||
Comment 9•19 years ago
|
||
I used justdave's verbal approval above to check it in to 2.22, but we should also get the a2.22+ for this bug.
tip:
Checking in Bugzilla/DB/Pg.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Pg.pm,v <-- Pg.pm
new revision: 1.23; previous revision: 1.22
done
2.22:
Checking in Bugzilla/DB/Pg.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Pg.pm,v <-- Pg.pm
new revision: 1.18.2.1; previous revision: 1.18
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: approval2.22?
Resolution: --- → FIXED
Target Milestone: Bugzilla 3.0 → Bugzilla 2.22
Updated•19 years ago
|
Flags: approval2.22? → approval2.22+
You need to log in
before you can comment on or make changes to this bug.
Description
•