ERROR: could not read block 4707 of relation 1663/16384/16564: Success

Поиск
Список
Период
Сортировка
От Deniz Atak
Тема ERROR: could not read block 4707 of relation 1663/16384/16564: Success
Дата
Msg-id CAL30GtH8jVN4LY9n1OWKWk1U-Q1w9RthVZgmsaM5caDLi=nhHw@mail.gmail.com
обсуждение исходный текст
Ответы Re: ERROR: could not read block 4707 of relation 1663/16384/16564: Success  (D M <dm.aeqa@gmail.com>)
Re: ERROR: could not read block 4707 of relation 1663/16384/16564: Success  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

I am using postgresql on Glassfish server and I have EJB 3.0 for ORM. I am trying to run a query in PSQL but receiving following error:

Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.0.v20091031-r5713): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: could not read block 4707 of relation 1663/16384/16564: Success
Error Code: 0
Call: select  src_ip  from table where date > '2011.07.29' AND date < '2011.07.30'  AND (  (src_ip = 'anIP' )  OR  ( src_ip = 'anotherIP' )  ) group by src_ip;  
    bind => [2011-07-29 00:00:00.0, 2011-07-30 00:00:00.0, 195.122.20.236, 195.122.20.88, 500, 0]
Query: ResultSetMappingQuery(sql="select  src_ip  from table where date > '2011.07.29' AND date < '2011.07.30'  AND (  (src_ip = 'anIP' )  OR  ( src_ip = 'anotherIP' )  ) group by src_ip; ")

It is kind of weird to have an error that ends with success :)

Do you have any opinion about this problem? Thanks in advance.

Deniz



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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: Finding referecing and referenced tables, adaptation from David Fetter's solution
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Finding referecing and referenced tables, adaptation from David Fetter's solution