[25444] in Perl-Users-Digest
Perl-Users Digest, Issue: 7689 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jan 25 11:05:54 2005
Date: Tue, 25 Jan 2005 08:05:19 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 25 Jan 2005 Volume: 10 Number: 7689
Today's topics:
Re: (C++) Class Member Function <tadmc@augustmail.com>
Re: (C++) Class Member Function <mritty@gmail.com>
Re: ASP Perlscript/VBScript Order of execution <tadmc@augustmail.com>
Re: ASP Perlscript/VBScript Order of execution <jurgenex@hotmail.com>
Re: Avoid long timeout on DNS lookup of nonexistent hos <1usa@llenroc.ude.invalid>
Google Groups (was Re: "Can't modify non-lvalue subrout <tadmc@augustmail.com>
Re: mysql results split on a number of pages <toreau@gmail.com>
Re: Print question <edgrsprj@ix.netcom.com>
Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <nospam@bigpond.com>
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <richard@zync.co.uk>
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index <1usa@llenroc.ude.invalid>
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <noreply@gunnar.cc>
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index (Mr. M.J. Lush)
Re: Testing for postgres index <phaylon@dunkelheit.at>
Re: Testing for postgres index <tadmc@augustmail.com>
Re: Testing for postgres index <tadmc@augustmail.com>
Re: trying to "use Sys::Syslog" but I get nothing ... <karen.wieprecht@jhuapl.edu>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 25 Jan 2005 07:11:38 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: (C++) Class Member Function
Message-Id: <slrncvchca.4f6.tadmc@magna.augustmail.com>
Vittal <vsnadagouda@yahoo.com> wrote:
> I am looking for a small Perl script,
Where have you looked?
Please use a search engine for searching.
We discuss _writing_ Perl programs here.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 Jan 2005 13:35:37 GMT
From: "Paul Lalli" <mritty@gmail.com>
Subject: Re: (C++) Class Member Function
Message-Id: <JWrJd.22429$1l2.7867@trndny05>
"Vittal" <vsnadagouda@yahoo.com> wrote in message
news:f9dcc290.0501242256.2bbf8249@posting.google.com...
> Hello All,
>
> I am looking for a small Perl script, which can help in finding all
> the member functions given the class definition.
> Is any such Perl script available, by any chance???
Check out Devel::Symdump, available on CPAN.
Paul Lalli
------------------------------
Date: Tue, 25 Jan 2005 07:17:32 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: ASP Perlscript/VBScript Order of execution
Message-Id: <slrncvchnc.4f6.tadmc@magna.augustmail.com>
LinnAxis <janschiffman@hotmail.com> wrote:
> Anyone have any idea why in the excerpt from one of my ASP pages, the
> Perlscript code always executes BEFORE the VBScript code?
You are in the wrong newsgroup.
There is nothing to do with Perl in your question.
There are other newsgroups for discussing how the web works.
comp.infosystems.www.advocacy
comp.infosystems.www.announce
comp.infosystems.www.authoring.cgi
comp.infosystems.www.authoring.html
comp.infosystems.www.authoring.images
comp.infosystems.www.authoring.misc
comp.infosystems.www.authoring.site-design
comp.infosystems.www.authoring.stylesheets
comp.infosystems.www.authoring.tools
comp.infosystems.www.browsers.mac
comp.infosystems.www.browsers.misc
comp.infosystems.www.browsers.ms-windows
comp.infosystems.www.browsers.x
comp.infosystems.www.misc
comp.infosystems.www.servers.mac
comp.infosystems.www.servers.misc
comp.infosystems.www.servers.ms-windows
comp.infosystems.www.servers.unix
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 Jan 2005 14:33:23 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: ASP Perlscript/VBScript Order of execution
Message-Id: <TMsJd.509$2i4.253@trnddc01>
LinnAxis wrote:
> Anyone have any idea why in the excerpt from one of my ASP pages, the
> Perlscript code always executes BEFORE the VBScript code?
> Even if the VBScript is in an included file
> (<!--#include file="../Include/Rep01Code.asp" -->), the Perlscript
> gets executed first.
> Unfortuantely my Perlscript needs to read Session variables assigned
> by my VBScript code.
> VBScript is the default lang as well.
Interesting idea. So you want to send an HTTP response first, such that the
client can execute the VBScript, such that the server can use the results
while executing the server side code, such that the HTTP response can be
generated.
Do you see a problem with that?
Not that this has anything to do with Perl to begin with....
jue
------------------------------
Date: 25 Jan 2005 14:10:56 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Avoid long timeout on DNS lookup of nonexistent host?
Message-Id: <Xns95E95D7116652asu1cornelledu@132.236.56.8>
Someone Else <invalid@earthlink.net.invalid> wrote in news:lbpJd.6485
$cZ1.3147@newsread2.news.atl.earthlink.net:
> Vetle Roeim wrote:
>
>
>> Use the Net::DNS module instead. It allows you to do multiple
>> concurrent lookups and to set timeout values.
>
> Thanks. I'll have to dig that up (it's not part of the
> ActivePerl I have, but it's probably time for an upgrade anyway).
ppm (a command line utility) handles the installation of additional
modules on ActivePerl.
Sinan
------------------------------
Date: Tue, 25 Jan 2005 07:09:18 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Google Groups (was Re: "Can't modify non-lvalue subroutine call" furrows my brow)
Message-Id: <slrncvch7u.4f6.tadmc@magna.augustmail.com>
bik.mido@gmail.com <bik.mido@gmail.com> wrote:
> Anno Siegel wrote:
>> rickcasey <rick@rickcasey.net> wrote in comp.lang.perl.misc:
>>
>> > You are right; something else was going on.
>>
>> Please give an attribution and quote some context when replying.
> The problem is with Google:
I finally gave up waiting for that problem to go away.
Last weekend I added a scorefile entry for postings from google. :-(
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 Jan 2005 13:27:41 +0100
From: Tore Aursand <toreau@gmail.com>
Subject: Re: mysql results split on a number of pages
Message-Id: <VWqJd.5890$Sl3.138732@news4.e.nsc.no>
asdfkajsdflkjsadlfkjoewqifoeiwjf@yahoo.com wrote:
> Does anyone have a swift solution on splitting up mysql results on a
> number of pages given the results for the query exceeds a specific
> number?
You could have a look at some of the modules found on CPAN;
<http://search.cpan.org/search?query=Data%3A%3APage&mode=all>
> Example query: my $sth=$dbh->prepare("select CITY from MYDB where
> COUNTRY='GB' desc");
What you probably want - if you need to roll this on your own - is to
use LIMIT;
SELECT ... FROM ... WHERE ... LIMIT [offset], [limit]
Refer to the MySQL documentation for more details. You will also want to
have a look at the 'SQL_CALC_FOUND_ROWS' function, which I'm guessing is
MySQL specific.
--
Tore Aursand <tore@aursand.no>
"War is too serious a matter to entrust to military men." (Georges
Clemenceau)
------------------------------
Date: Tue, 25 Jan 2005 14:10:18 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: Print question
Message-Id: <ersJd.9516$rp1.6292@newsread3.news.atl.earthlink.net>
"Joe Smith" <joe@inwap.com> wrote in message
news:zYWdnX69M6JHx2jcRVn-tA@comcast.com...
> edgrsprj wrote:
>
> > And it is to some extent different than the Perl PC language
> > which is discussed in this Newsgroup.
>
> You need to do some more research. There is the Perl language,
> not the "Perl PC" language. What you call "perl scripting language"
> is probably not what you think it is; you need to get more details.
> -Joe
Thanks for the comments. Back about 5 years ago I wrote a CGI program using
some version of Perl. And it ran automatically on this one an Internet
server for about a year. I don't recall exactly what the code looked like.
But if I remember correctly it was somewhat different than the version of
Perl that I am presently running on my PC.
In any case if things ever get to the point where it is time to create
another CGI program then all of this will have to be investigated.
------------------------------
Date: Tue, 25 Jan 2005 11:38:21 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Testing for postgres index
Message-Id: <ct5b3d$pok$1@helium.hgmp.mrc.ac.uk>
How can I test for the existance of an index in a postgres (7.4) table
via the perl DBI?
I want to write an function that I can pass database, table and column,
which, if the table already has an index uses REINDEX to rebuild the
index and if the index does not exist use CREATE INDEX.
I've had a look through <http://search.cpan.org/~timb/DBI-1.46/DBI.pm>
and could not see anything relevent (I would have assumend column_info()
would do the job)
A bit of Googling gave me a MySQL solution ("SHOW INDEX FROM table")
but I can't find a postgers equivilant.
What am I missing?
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 13:07:51 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.12.07.51.148552@dunkelheit.at>
Mr. M.J. Lush wrote:
> A bit of Googling gave me a MySQL solution ("SHOW INDEX FROM table") but I
> can't find a postgers equivilant.
Tried the Postgres Documentation?
p
--
http://www.dunkelheit.at/
thou shallst fear...
------------------------------
Date: Tue, 25 Jan 2005 12:55:35 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5fk7$qnf$1@helium.hgmp.mrc.ac.uk>
In article <pan.2005.01.25.12.07.51.148552@dunkelheit.at>,
phaylon <phaylon@dunkelheit.at> wrote:
>Mr. M.J. Lush wrote:
>
>> A bit of Googling gave me a MySQL solution ("SHOW INDEX FROM table") but I
>> can't find a postgers equivilant.
>
>Tried the Postgres Documentation?
Yes, I understand that SHOW INDEX is specific MySQLs SQL implementation.
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 22:55:39 +1000
From: Gregory Toomey <nospam@bigpond.com>
Subject: Re: Testing for postgres index
Message-Id: <35mtucF4kt1ipU2@individual.net>
Mr. M.J. Lush wrote:
> How can I test for the existance of an index in a postgres (7.4) table
> via the perl DBI?
>
> I want to write an function that I can pass database, table and column,
> which, if the table already has an index uses REINDEX to rebuild the
> index and if the index does not exist use CREATE INDEX.
>
> I've had a look through <http://search.cpan.org/~timb/DBI-1.46/DBI.pm>
> and could not see anything relevent (I would have assumend column_info()
> would do the job)
>
> A bit of Googling gave me a MySQL solution ("SHOW INDEX FROM table")
> but I can't find a postgers equivilant.
>
> What am I missing?
Most relational databases have a data dictionary (stored as tables) that you
can query. Look at the Postgres documentation.
gtoomey
------------------------------
Date: Tue, 25 Jan 2005 13:59:51 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.12.59.51.686114@dunkelheit.at>
Mr. M.J. Lush wrote:
> Yes, I understand that SHOW INDEX is specific MySQLs SQL implementation.
That's good. Have you looked for _your question_ in the postgres-manual?
p
--
http://www.dunkelheit.at/
The mind is its own place, and in itself
Can make a heaven of hell, a hell of heaven. -- Milton, »Paradise Lost«
------------------------------
Date: Tue, 25 Jan 2005 13:36:47 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5i1f$re8$1@helium.hgmp.mrc.ac.uk>
In article <pan.2005.01.25.12.59.51.686114@dunkelheit.at>,
phaylon <phaylon@dunkelheit.at> wrote:
>Mr. M.J. Lush wrote:
>
>> Yes, I understand that SHOW INDEX is specific MySQLs SQL implementation.
>
>That's good. Have you looked for _your question_ in the postgres-manual?
Don't worry about it.
My mummy told me not to feed the Trolls.
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 13:58:25 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5ja1$rn3$1@helium.hgmp.mrc.ac.uk>
In article <35mtucF4kt1ipU2@individual.net>,
Gregory Toomey <nospam@bigpond.com> wrote:
>Mr. M.J. Lush wrote:
>> How can I test for the existance of an index in a postgres (7.4) table
>> via the perl DBI?
>>
>Most relational databases have a data dictionary (stored as tables) that you
>can query. Look at the Postgres documentation.
Thanks for the pointer
SELECT relname FROM pg_class WHERE relname = 'foo_bar_baz_index';
does the trick.
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 14:00:44 +0000
From: Richard Gration <richard@zync.co.uk>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.14.00.44.212309@zync.co.uk>
On Tue, 25 Jan 2005 11:38:21 +0000, Mr. M.J. Lush wrote:
> How can I test for the existance of an index in a postgres (7.4) table
> via the perl DBI?
>
> I want to write an function that I can pass database, table and column,
> which, if the table already has an index uses REINDEX to rebuild the
> index and if the index does not exist use CREATE INDEX.
>
> I've had a look through <http://search.cpan.org/~timb/DBI-1.46/DBI.pm>
> and could not see anything relevent (I would have assumend column_info()
> would do the job)
>
> A bit of Googling gave me a MySQL solution ("SHOW INDEX FROM table")
> but I can't find a postgers equivilant.
>
> What am I missing?
The willingness to try? 60 seconds in psql gives me this:
select count(*) from pg_indexes where tablename = '....' and indexname = '....';
And being told to read the documentation does not qualify as trolling.
Rich
------------------------------
Date: Tue, 25 Jan 2005 14:56:11 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.13.56.11.633285@dunkelheit.at>
Mr. M.J. Lush wrote:
> My mummy told me not to feed the Trolls.
If you don't want help, quit asking. And I don't answer questions which
sound like "Would please one of you search that for me?".
oh, btw: *plonk*
--
http://www.dunkelheit.at/
sapere aude.
------------------------------
Date: 25 Jan 2005 14:07:48 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Testing for postgres index
Message-Id: <Xns95E95CE9181F8asu1cornelledu@132.236.56.8>
mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush) wrote in
news:ct5i1f$re8$1@helium.hgmp.mrc.ac.uk:
> In article <pan.2005.01.25.12.59.51.686114@dunkelheit.at>,
> phaylon <phaylon@dunkelheit.at> wrote:
>>Mr. M.J. Lush wrote:
>>
>>> Yes, I understand that SHOW INDEX is specific MySQLs SQL
>>> implementation.
>>
>>That's good. Have you looked for _your question_ in the
>>postgres-manual?
>
> Don't worry about it.
>
> My mummy told me not to feed the Trolls.
His suggestion was extremely reasonable. It seems like your mummy forgot
to teach you not to make off-topic posts and to graciously accept helpful
pointers.
Sinan.
------------------------------
Date: Tue, 25 Jan 2005 14:09:20 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5jug$rrk$1@helium.hgmp.mrc.ac.uk>
In article <pan.2005.01.25.14.00.44.212309@zync.co.uk>,
Richard Gration <richard@zync.co.uk> wrote:
>On Tue, 25 Jan 2005 11:38:21 +0000, Mr. M.J. Lush wrote:
>>
>> What am I missing?
>
>The willingness to try? 60 seconds in psql gives me this:
>
>select count(*) from pg_indexes where tablename = '....' and indexname = '....';
>
>And being told to read the documentation does not qualify as trolling.
Saying 'An answer exists' without providing at least a clue as to the nature
of the answer is unhelpful
Gregory Toomey told me to read the documentation, but he rather
kindly provided me with a clue where to read.
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 15:07:33 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.14.07.33.617621@dunkelheit.at>
Mr. M.J. Lush wrote:
> Gregory Toomey told me to read the documentation, but he rather kindly
> provided me with a clue where to read.
I didn't know where to find it. I knew it /was/ there, because I can
remember it. Please tell me now why _I_ should start searching it for you?
p
--
http://www.dunkelheit.at/
»Better to reign in hell than to serve in heaven«
-- John Milton, »Paradise Lost«
------------------------------
Date: Tue, 25 Jan 2005 14:31:03 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5l77$s4h$1@helium.hgmp.mrc.ac.uk>
In article <pan.2005.01.25.14.07.33.617621@dunkelheit.at>,
phaylon <phaylon@dunkelheit.at> wrote:
>Mr. M.J. Lush wrote:
>
>> Gregory Toomey told me to read the documentation, but he rather kindly
>> provided me with a clue where to read.
>
>I didn't know where to find it. I knew it /was/ there, because I can
>remember it. Please tell me now why _I_ should start searching it for you?
Gregory provided no references and did no searching for me all he
told me was:-
"Most relational databases have a data dictionary (stored as tables) that you
can query. Look at the Postgres documentation."
Which narrowed the search are down from all of the DBI documentation
and all postgres documentation down to Chapter VII. Internals
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 15:43:43 +0100
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Testing for postgres index
Message-Id: <35n451F4p6q75U1@individual.net>
Mr. M.J. Lush wrote:
> Gregory provided no references and did no searching for me all he
> told me was:-
>
> "Most relational databases have a data dictionary (stored as tables) that you
> can query. Look at the Postgres documentation."
>
> Which narrowed the search are down from all of the DBI documentation
> and all postgres documentation down to Chapter VII. Internals
That's fine. But how it makes other posters who try to help "trolls" or
"unhelpful" is a mystery.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Tue, 25 Jan 2005 15:37:13 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.14.37.13.559361@dunkelheit.at>
Mr. M.J. Lush wrote:
> Which narrowed the search are down from all of the DBI documentation and
> all postgres documentation down to Chapter VII. Internals
And asking you if you looked to the _postgres docs_ was trolling in which
way? I would like to understand that, because I want to help people if I
can. But it get's lesser fun every time someone calls you a "troll" for
providing the idea to look in a particular place.
p
--
http://www.dunkelheit.at/
Ordinary morality is only for ordinary people.
-- Aleister Crowley
------------------------------
Date: Tue, 25 Jan 2005 15:05:30 +0000 (UTC)
From: mlush@hgmp.mrc.ac.uk (Mr. M.J. Lush)
Subject: Re: Testing for postgres index
Message-Id: <ct5n7q$si4$1@helium.hgmp.mrc.ac.uk>
In article <pan.2005.01.25.14.37.13.559361@dunkelheit.at>,
phaylon <phaylon@dunkelheit.at> wrote:
>Mr. M.J. Lush wrote:
>
>> Which narrowed the search are down from all of the DBI documentation and
>> all postgres documentation down to Chapter VII. Internals
>
>And asking you if you looked to the _postgres docs_ was trolling in which
>way? I would like to understand that, because I want to help people if I
>can. But it get's lesser fun every time someone calls you a "troll" for
>providing the idea to look in a particular place.
I am very sorry I called you a troll (honestly), I had spent the morning
trying to find a solution and writing the post and was convinced
that I had missed something DBI documentation, partucuarly column_info().
Your posts came across to me as 'I know exactly where the answer is,
but I am going to make you crawl across broken glass before I will tell
you' and I posted in haste, I'm sorry.
--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NPC rights activist | Nameless Abominations are people too.
------------------------------
Date: Tue, 25 Jan 2005 16:08:14 +0100
From: phaylon <phaylon@dunkelheit.at>
Subject: Re: Testing for postgres index
Message-Id: <pan.2005.01.25.15.08.14.547039@dunkelheit.at>
Mr. M.J. Lush wrote:
> Your posts came across to me as 'I know exactly where the answer is, but I
> am going to make you crawl across broken glass before I will tell you'
> and I posted in haste, I'm sorry.
No problem. It wasn't meant that way, just also posted in haste between
working phases.
so long,
p
--
http://www.dunkelheit.at/
The first rule of project mayhem is: you do not ask questions.
-- Fight Club
------------------------------
Date: Tue, 25 Jan 2005 09:17:25 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Testing for postgres index
Message-Id: <slrncvcoo5.4re.tadmc@magna.augustmail.com>
Mr. M.J. Lush <mlush@hgmp.mrc.ac.uk> wrote:
> Saying 'An answer exists' without providing at least a clue as to the nature
> of the answer is unhelpful
See what you get for asking an off-topic question?
It is better *for you* to ask postgres questions in the postgres
newsgroup. That is where the people that know about postgres
hang out after all!
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 Jan 2005 09:18:33 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Testing for postgres index
Message-Id: <slrncvcoq9.4re.tadmc@magna.augustmail.com>
Mr. M.J. Lush <mlush@hgmp.mrc.ac.uk> wrote:
> In article <pan.2005.01.25.12.59.51.686114@dunkelheit.at>,
> phaylon <phaylon@dunkelheit.at> wrote:
>>Mr. M.J. Lush wrote:
>>
>>> Yes, I understand that SHOW INDEX is specific MySQLs SQL implementation.
>>
>>That's good. Have you looked for _your question_ in the postgres-manual?
>
> Don't worry about it.
>
> My mummy told me not to feed the Trolls.
Off to the killfile you go!
Good luck.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 Jan 2005 09:19:03 -0500
From: "Karen Wieprecht" <karen.wieprecht@jhuapl.edu>
Subject: Re: trying to "use Sys::Syslog" but I get nothing ...
Message-Id: <ct5kgs$8ev$1@aplcore.jhuapl.edu>
> which log file are *.notice msgs logged?
They all go to /var/adm/SYSLOG.
> best guess would be:
> 0. the msgs are being logged but not where you think/want them logged.
> 1. there is a problem with /etc/syslog.conf.
I tested
logger -p local5.notice "this is a test"
and it came out exactly where I expected it.
I also tested the return values of openlog (it was 1) and each syslog call
with my various strings, and I got the following values :
53,58,60,62,65,75
But I'm still not getting anything in syslog...
Anyone know if I need to have the options in all caps or if the quotes
should be single rather than double? This is very frustrating ...
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 7689
***************************************