Re: [GENERAL] How should I phrase this?

2001-07-08 Thread Paul Tomblin
Quoting Mitch Vincent ([EMAIL PROTECTED]): > An alternative, though I'm not sure it's better in any way : > > DELETE FROM generators WHERE started + '30 minutes'::interval <= now(); Well, that looks a little nicer. Thanks. -- Paul Tomblin <[EMAIL PROTECTED]

[GENERAL] How should I phrase this?

2001-07-08 Thread Paul Tomblin
or rewriting it? DELETE FROM generators WHERE age(now(),started) > interval '30 minutes' -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody "Nobody can be told what the dominatrix is, they have to see it for themselves"

Re: [GENERAL] Red Hat to support PostgreSQL

2001-06-26 Thread Paul Tomblin
Quoting Paul Tomblin ([EMAIL PROTECTED]): > In 1996-97, I had just been through the horror of upgrading a lab full of Sorry, that was 1991-92. What was I thinking? > machines from SLS 1.03 to Slackware, and then from one Slackware version -- Paul Tomblin <[EMAIL PROTECTED]>, not

Re: [GENERAL] Red Hat to support PostgreSQL

2001-06-26 Thread Paul Tomblin
ow compared to MySQL, so I switched to PostgresSQL. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody "What we perceive as `God' is simply a by-product of our search for God." - G'Kar. ---(end of broadcast)-

Re: [GENERAL] What the heck is happening here?

2001-06-12 Thread Paul Tomblin
istribution) as well as CPAN seems to work fine. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody Programmer (n): One who makes the lies the salesman told come true. ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [GENERAL] Autocommit off in psql??

2001-05-22 Thread Paul Tomblin
? And should I vacuum immediately afterwards? -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody The WWW is exciting because Microsoft doesn't own it, and therefore, there's a tremendous amount of innovation happening. -- Steve Jobs ---(end of bro

Re: [GENERAL] Why can't I do this (setup question)

2001-05-20 Thread Paul Tomblin
Quoting Tom Lane ([EMAIL PROTECTED]): > Paul Tomblin <[EMAIL PROTECTED]> writes: > > Is there a postmaster log other than what's in /var/log/messages? > > Yes, the postmaster's stderr output. What is your startup script doing > with that? I'm using the

Re: [GENERAL] Why can't I do this (setup question)

2001-05-20 Thread Paul Tomblin
Quoting Tom Lane ([EMAIL PROTECTED]): > Paul Tomblin <[EMAIL PROTECTED]> writes: > > I've got PostgreSQL 7.1 installed from rpms on a RedHat 6.2 system. I > > want the data directory on a separate partition, so I shut down, tar the > > whole directory into the oth

[GENERAL] Why can't I do this (setup question)

2001-05-19 Thread Paul Tomblin
stgresql start Is there a way to make this work, or am I going to have to export and import? -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make t

Re: [GENERAL] Why is this taking so damn long?

2001-04-28 Thread Paul Tomblin
ed the column, I didn't put an index on it. It's Postgres 6.5. And you're right, I haven't vacuumed it recently. And the update is still running. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody A fool and his money are soon fl

Re: [GENERAL] Re: BETWEEN clause

2001-04-24 Thread Paul Tomblin
and completely, > you showed, quite clearly, how to find out such answers. I was impressed as well. I didn't know you could use \d to find the definition of views like that. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody "Nobody can be told what the dominatrix is,

[GENERAL] BETWEEN clause

2001-04-23 Thread Paul Tomblin
Is the "BETWEEN" clause inclusive or exclusive? ie if I say "WHERE latitude BETWEEN 45 and 55", will I get examples where the latitude equals 45 or not? Also, is "latitude BETWEEN 45 and 55" any more efficient than "latitude >= 45 AND latitude <= 55&quo

Re: [GENERAL] Re: DBD and DBI::Pg

2001-04-15 Thread Paul Tomblin
www.perl.com. For GD.pm, you also need the "gd" library. If you're using RedHat Linux, install the gd (and possibly gd-devel) RPMS. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody 'Usenet "belongs" to those who administ

Re: [GENERAL] How do I...

2001-04-01 Thread Paul Tomblin
cessing the request. We have lost the connection to the backend, so further processing is impossible. Terminating. -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody "I know not with what weapons World War III will be fought, but World War IV will be fought with sticks a

Re: [GENERAL] Ok, why isn't it using *this* index?

2001-04-01 Thread Paul Tomblin
Quoting ADBAAMD ([EMAIL PROTECTED]): > Paul Tomblin wrote: > > I think I understand now. If this is correct, then doesn't it make sense > > just to drop that index? At least until I get a lot more data from other > > countries? > > Probably you are rig

Re: [GENERAL] Ok, why isn't it using *this* index?

2001-04-01 Thread Paul Tomblin
Quoting ADBAAMD ([EMAIL PROTECTED]): > Paul Tomblin wrote: > > If I try > > explain select * from waypoint where country = 'BELIZE'; > > a query that will only select one record out of the 8300-odd, it still > > doesn't use the index. > >

Re: [GENERAL] Ok, why isn't it using *this* index?

2001-04-01 Thread Paul Tomblin
Quoting ADBAAMD ([EMAIL PROTECTED]): > Paul Tomblin wrote: > > I have a table with columns 'country' and 'state'. I put indexes on both > > of them. I've done the "vacuum analyze" as per the faq. But when I ask > > it to exp

[GENERAL] point data type

2001-03-26 Thread Paul Tomblin
nd it appears the only solution is to use the distance between the point and line((0,0),(1,0)) and line((0,0),(0,1)). -- Paul Tomblin <[EMAIL PROTECTED]>, not speaking for anybody "A little rudeness and disrespect can elevate a meaningless interaction into a battle of wills and add drama