Re: Changes committed

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Changes committed
Дата
Msg-id FED2B709E3270E4B903EB0175A49BCB10475D2@dogbert.vale-housing.co.uk
обсуждение исходный текст
Список pgadmin-hackers

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm.poure@freesurf.fr]
> Sent: 20 February 2002 15:55
> To: Dave Page
> Subject: Changes committed
>
>
> Dear Dave,
>
> Changes are commited to CVS : bugfix, view OID retrieval,
> view rollback.
>

Definitely looks like it's heading the right way :-).

I've made some changes - please check & confirm you agree they're OK:

1) OID comes from pg_class.oid (relfilenode is the filename on disk which
*may* be different).

2) Kill recordsets after use to be safe.

3) Only commit when we actually change something, not when just retrieving
updated properties.

I'm not overly convinced that the rollback is right though - it's already
fallen over once for me. How about, creating the view with a random name,
and then if that succeeds, drop the old one and rename the new?

I've checked in my changes anyway.

Regards, Dave.

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: To-Do List
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: PgAdmin II