pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Trurl McByte <trurl@anything3d.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Re: [ADMIN] pg_dump backup problems with password authentication
Date: Fri, 8 Dec 2000 09:57:43 +0200 (EET)
Message-ID: <Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com> (raw)
In-Reply-To: <1198.976204757@sss.pgh.pa.us>

On Thu, 7 Dec 2000 (Yesterday), Tom Lane wrote:

  TL> Trurl McByte <trurl@anything3d.com> writes:
  TL> > trurl=# select '["2000-11-01 10:00:00+02" "2000-11-30 10:00:00+02"]'::tinterval =
  TL> > trurl=# '["2000-09-01 10:00:00+03" "2000-09-30 10:00:00+03"]'::tinterval;
  TL> >  ?column?
  TL> > - ----------
  TL> >  t
  TL> > (1 row)
  TL> 
  TL> The tinterval comparison functions consider two tintervals equal if they
  TL> have the same length (duration).  Whether this is reasonable I dunno,
  TL> but that's how that datatype has always worked.
Ok. But in next sample I have system crash:
=============
trurl=# create table ttable ( id int4, tt tinterval );
CREATE
trurl=# insert into ttable VALUES ( 1, '["2000-11-01 10:00:00" "2000-12-01 10:00:00"]');
INSERT 327690 1
trurl=# insert into ttable VALUES ( 2 );
INSERT 327691 1
trurl=# select * from ttable where tt = '["2000-11-01 10:00:00" "2000-12-01 10:00:00"]'::tinterval;
pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!#
=============
NULL value in "tinterval"... :(


  TL> 
  TL> 			regards, tom lane
  TL> 

-- 
      Trurl McByte, Capt. of StasisCruiser "Prince"
|InterNIC: AR3200                   RIPE: AR1627-RIPE|
|--98 C3 78 8E 90 E3 01 35  87 1F 3F EF FD 6D 84 B3--|




view thread (6+ messages)

Message-ID: <Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com>
Permalink:  ../Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: trurl@anything3d.com, tgl@sss.pgh.pa.us, pgsql-bugs@postgresql.org
  Subject: Re: [ADMIN] pg_dump backup problems with password authentication
  In-Reply-To: <Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com>
  References: <1198.976204757@sss.pgh.pa.us> <Pine.LNX.4.20.0012080953030.10331-100000@trurl.anything3d.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox