pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: A.Bhuvaneswaran <bhuvansql@myrealbox.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 7.2.3 -> 7.3.2: timeofday(), server crashed
Date: Thu, 03 Apr 2003 10:02:42 -0500
Message-ID: <28419.1049382162@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0304031727400.2702-100000@Bhuvan.bksys.co.in>
References: <Pine.LNX.4.44.0304031727400.2702-100000@Bhuvan.bksys.co.in>

"A.Bhuvaneswaran" <bhuvansql@myrealbox.com> writes:
> Since in 7.3.2 the default timestamp is without timezone, the below
> command fails:
 
> # CREATE TABLE history_log (history_id text, ctime timestamp default
> timeofday());  
> ERROR:  Column "ctime" is of type timestamp without time zone but default
> expression is of type text
>         You will need to rewrite or cast the expression

This is unrelated to the change in the with/without time zone default;
it happens because we have tightened up the rules for implicit casting.

> Further, due to the above reason, while restoring, the server is crashed.

> ERROR:  parser: parse error at or near "602869" at character 1
> LOG:  server process (pid 31373) was terminated by signal 9

This is also unrelated.  There is no scenario in which a parse error
will lead to signal 9.  I would guess that you have one of the versions
of Linux in which the kernel will issue kill -9's against
randomly-selected user processes anytime it starts feeling low on
memory.  Buying more RAM or increasing swap space is the best answer
AFAIK.

			regards, tom lane




view thread (4+ messages)  latest in thread

Message-ID: <28419.1049382162@sss.pgh.pa.us>
Permalink:  ../28419.1049382162@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28419.1049382162@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, bhuvansql@myrealbox.com
  Subject: Re: 7.2.3 -> 7.3.2: timeofday(), server crashed
  In-Reply-To: <28419.1049382162@sss.pgh.pa.us>
  References: <Pine.LNX.4.44.0304031727400.2702-100000@Bhuvan.bksys.co.in> <28419.1049382162@sss.pgh.pa.us>

* 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