Delete oid causing problems

Поиск
Список
Период
Сортировка
От rai lalit
Тема Delete oid causing problems
Дата
Msg-id F75i03LojJoPUprhup7000074c0@hotmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi all,  I am trying to delete a record which had one of the fields as oid.
I was able to delete all the records except for 3.
I tried:
select lo_unlink(64445) from tablename
And then:
delete from tablename where id=1;

it worked
But for 3 records the delete command goes in hang.

on executing:
select lo_unlink(67787) from tablename

it gives:
lo_unlink
-----------       -1       -1
(2 rows)
and on deleting with the delete command it goes on hang.

I want to drop the same table but can't do that either.
I want to create another table with the same name.

Any help would be appreciated.

Thanks in advance,
Rai

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



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

Предыдущее
От: "rai lalit"
Дата:
Сообщение: Delete oid giving problems
Следующее
От: "Rod Taylor"
Дата:
Сообщение: Timestamp change - 8601 compliance