Re: [pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-06 Thread Dave Page
On Thu, Sep 6, 2012 at 1:56 AM, Quan Zongliang wrote: > On 2012/9/5 22:48, 权宗亮 wrote: >> >> >> >> 2012/9/5 Dave Page mailto:dp...@pgadmin.org>> >> >> >> On Wed, Sep 5, 2012 at 3:39 AM, Quan Zongliang >> mailto:quanzongli...@gmail.com>> wrote: >> > >> > new patch attched. >> > I

Re: [pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-05 Thread 权宗亮
2012/9/5 Dave Page > On Wed, Sep 5, 2012 at 3:39 AM, Quan Zongliang > wrote: > > > > new patch attched. > > I tested it under Cygwin, seems OK. > > I got an error on my first test I'm afraid :-( > > 2012-09-05 14:39:41 QUERY : Set query (localhost:5432): SELECT classid > FROM pg_depend > WHE

Re: [pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-05 Thread Dave Page
On Wed, Sep 5, 2012 at 3:39 AM, Quan Zongliang wrote: > > new patch attched. > I tested it under Cygwin, seems OK. I got an error on my first test I'm afraid :-( 2012-09-05 14:39:41 QUERY : Set query (localhost:5432): SELECT classid FROM pg_depend WHERE refobjid=207478::oid AND refobjsubid =

Re: [pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-04 Thread Quan Zongliang
On 2012/9/4 19:02, Dave Page wrote: Hi On Tue, Sep 4, 2012 at 5:03 AM, Quan Zongliang wrote: Hi, Please find the attachments. pgColumn.patch: Detect serial columns from pg_depend, not column default (observe deviating serial name) This patch does not apply: raptor:pgAdmin3 dpage$ git a

Re: [pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-04 Thread Dave Page
Hi On Tue, Sep 4, 2012 at 5:03 AM, Quan Zongliang wrote: > Hi, > > Please find the attachments. > > pgColumn.patch: > > Detect serial columns from pg_depend, not column default (observe deviating > serial name) This patch does not apply: raptor:pgAdmin3 dpage$ git apply ~/Downloads/pgColumn.p

[pgadmin-hackers] little patch for "Detect serial columns from pg_depend" and bugfix

2012-09-03 Thread Quan Zongliang
Hi, Please find the attachments. pgColumn.patch: Detect serial columns from pg_depend, not column default (observe deviating serial name) pgSequence.patch: bugfix, in SQL pane of the sequence, the script is CREATE SEQUENCE xxx ...; ALTER TABLE ... Regards, Quan Zongliang diff --git a/