Re: Changes committed - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Changes committed
Date
Msg-id FED2B709E3270E4B903EB0175A49BCB10475D2@dogbert.vale-housing.co.uk
Whole thread Raw
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: To-Do List
Next
From: Jean-Michel POURE
Date:
Subject: Re: PgAdmin II