Re: Postgres process is crashing continously in 9.1.1

Поиск
Список
Период
Сортировка
От Jayashankar K B
Тема Re: Postgres process is crashing continously in 9.1.1
Дата
Msg-id 1365276B7BDA4C40A519F0B4088230B3098DEA84@POCITMSEXMB03.LntUniverse.com
обсуждение исходный текст
Ответ на Re: Postgres process is crashing continously in 9.1.1  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Postgres process is crashing continously in 9.1.1  (Chris Angelico <rosuav@gmail.com>)
Список pgsql-general
Yes the board has the embedded 68k architecture based  Freescale Coldfire processor.
The board has a custom built Linux based on the kernel 2.6.38
The database is stored on an SD card of 4GB capacity.

This is the table we have.
CREATE TABLE financialtransaction
(
  FINANCIALTRANSACTIONID   BIGINT NOT NULL PRIMARY KEY,
  TIME_STAMP               TIMESTAMP,
  ATTENDANT                SMALLINT,
  RECEIPTPRINTED                BOOLEAN DEFAULT FALSE,
  ODOMETER                 VARCHAR(20),
  ENGINEHOUR               NUMERIC(9,2),
  CONSTRAINT financialtransaction_pkey PRIMARY KEY (FINANCIALTRANSACTIONID )
)
WITH (
  OIDS=FALSE
);
ALTER TABLE financialtransaction
  OWNER TO postgres;

On writing into this table, a stored procedure is triggered which inserts into another table.
But crash is happening while writing into this financialtransaction table once this table has more than 1000 records.
Please let me know if you need any other information.

Thanks and Regards
Jayashankar

-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of John R Pierce
Sent: 22 May 2012 PM 12:00
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Postgres process is crashing continously in 9.1.1

On 05/21/12 11:05 PM, Jayashankar K B wrote:
> board with Coldfire controller.

what is this board?   Coldfire is the embedded 68k-like Freescale processor?

what operating system is this under?   what sort of storage does this
embedded system use for the database?

telling us FINANCIALWHATEVERID > 1000 doesn't really do us much good since we have no idea what your database looks
like,or what your code 
is doing.   the log seems to indicate there was a constraint violation
just before the exception hit.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the
intendedrecipient, please do not use or disseminate the information, notify the sender and delete it from your system. 

 Earth Day. Every Day.

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Postgres process is crashing continously in 9.1.1
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Postgres process is crashing continously in 9.1.1