Hi,

In the first place, do we have any document which list the points to be
considered while upgrading to 7.3.2, other than HISTORY and 
http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3 ?

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

rather, i must try

# CREATE TABLE history_log (history_id text, ctime timestamp default
timeofday()::timestamp);

This is fine.

Further, due to the above reason, while restoring, the server is crashed.
FYI, i have included the server log.

<serverlog>
ERROR:  Relation "history_log" does not exist
ERROR:  parser: parse error at or near "INSERT_FROM_DBLINK_VIEW" at 
character 1
LOG:  recycled transaction log file 0000000000000012
LOG:  recycled transaction log file 0000000000000013
LOG:  recycled transaction log file 0000000000000014
LOG:  recycled transaction log file 0000000000000015
LOG:  recycled transaction log file 0000000000000016
ERROR:  parser: parse error at or near "602869" at character 1
LOG:  server process (pid 31373) was terminated by signal 9
LOG:  terminating any other active server processes
LOG:  statistics collector process (pid 31329) was terminated by signal 9
WARNING:  Message from PostgreSQL backend:
        The Postmaster has informed me that some other backend
        died abnormally and possibly corrupted shared memory.
        I have rolled back the current transaction and am
        going to terminate your database system connection and exit.
        Please reconnect to the database system and repeat your query.
LOG:  database system was interrupted at 2003-04-03 16:20:17 IST
</serverlog>

regards, 
bhuvaneswaran


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to