pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[PATCHES] PgAccess schema-diagram cleanup
6+ messages / 2 participants
[nested] [flat]

* [PATCHES] PgAccess schema-diagram cleanup
@ 2000-07-14 20:27 Ross J. Reedstrom <reedstrm@rice.edu>
  2000-07-14 21:09 ` Re: PgAccess schema-diagram cleanup Bruce Momjian <pgman@candle.pha.pa.us>
  2000-10-11 18:10 ` Re: [PATCHES] PgAccess schema-diagram cleanup Bruce Momjian <pgman@candle.pha.pa.us>
  2001-01-24 13:49 ` Re: [PATCHES] PgAccess schema-diagram cleanup Bruce Momjian <pgman@candle.pha.pa.us>
  2001-01-27 18:18 ` Re: PgAccess schema-diagram cleanup Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 4 replies; 6+ messages in thread

From: Ross J. Reedstrom @ 2000-07-14 20:27 UTC (permalink / raw)
  To: pgsql-patches@postgresql.org

Here's a patch to clean up some issues with the schema diagram
editor in pgaccess. This patch:

	* allows schema window to be resized up to full screen size
	* autosizes window on schema open
	* allows multiselect of tables (by shift click) to allow
		dragging of sets of tables
		deletion of sets of tables
	* fixes a bug in table deletion code that did not delete
	  links to that table properly
	* changes link lines to be continous, so they export better
		via postscript->pstoedit->xfig
	
It does not change the name of the feature from schema, as I 
asked about on HACKERS. I'm off for a week's vacation starting
tomorrow, so I probably won't see any commentary on this until
Monday the 24th

Ross
-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005

Attachments:

pgaccess.group.diff (text/plain, 11.3K) download Index: bin/pgaccess//lib/schema.tcl =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/src/bin/pgaccess/lib/schema.tcl,v retrieving revision 1.5 diff -c -r1.5 schema.tcl *** bin/pgaccess//lib/schema.tcl 2000/03/31 11:22:31 1.5 --- bin/pgaccess//lib/schema.tcl 2000/07/14 19:05:57 *************** *** 39,44 **** --- 39,47 ---- } set PgAcVar(schema,links) $links drawLinks + foreach {ulx uly lrx lry} [.pgaw:Schema.c bbox all] { + wm geometry .pgaw:Schema [expr $lrx+30]x[expr $lry+30] + } } *************** *** 100,106 **** .pgaw:Schema.c lower rect drawLinks ! .pgaw:Schema.c bind mov <Button-1> {Schema::dragStart %W %x %y} .pgaw:Schema.c bind mov <B1-Motion> {Schema::dragMove %W %x %y} bind .pgaw:Schema.c <ButtonRelease-1> {Schema::dragStop %x %y} bind .pgaw:Schema <Button-1> {Schema::canvasClick %x %y %W} --- 103,109 ---- .pgaw:Schema.c lower rect drawLinks ! .pgaw:Schema.c bind mov <Button-1> {Schema::dragStart %W %x %y %s} .pgaw:Schema.c bind mov <B1-Motion> {Schema::dragMove %W %x %y} bind .pgaw:Schema.c <ButtonRelease-1> {Schema::dragStop %x %y} bind .pgaw:Schema <Button-1> {Schema::canvasClick %x %y %W} *************** *** 152,193 **** proc {deleteObject} {} { global PgAcVar # Checking if there ! set obj [.pgaw:Schema.c find withtag hili] ! if {$obj==""} return # Is object a link ? ! if {[getTagInfo $obj link]=="s"} { ! if {[tk_messageBox -title [intlmsg Warning] -icon question -parent .pgaw:Schema -message [intlmsg "Remove link ?"] -type yesno -default no]=="no"} return ! set linkid [getTagInfo $obj lkid] ! set PgAcVar(schema,links) [lreplace $PgAcVar(schema,links) $linkid $linkid] .pgaw:Schema.c delete links drawLinks - return - } - # Is object a table ? - set tablealias [getTagInfo $obj tab] - set tablename $PgAcVar(schema,tablename$tablealias) - if {"$tablename"==""} return - if {[tk_messageBox -title [intlmsg Warning] -icon question -parent .pgaw:Schema -message [format [intlmsg "Remove table %s from query?"] $tablename] -type yesno -default no]=="no"} return - for {set i [expr [llength $PgAcVar(schema,links)]-1]} {$i>=0} {incr i -1} { - set thelink [lindex $PgAcVar(schema,links) $i] - if {($tablealias==[lindex $thelink 0]) || ($tablealias==[lindex $thelink 2])} { - set PgAcVar(schema,links) [lreplace $PgAcVar(schema,links) $i $i] } } - for {set i 0} {$i<$PgAcVar(schema,ntables)} {incr i} { - set temp {} - catch {set temp $PgAcVar(schema,tablename$i)} - if {"$temp"=="$tablename"} { - unset PgAcVar(schema,tablename$i) - unset PgAcVar(schema,tablestruct$i) - break - } - } - #incr PgAcVar(schema,ntables) -1 - .pgaw:Schema.c delete tab$tablealias - .pgaw:Schema.c delete links - drawLinks - } proc {dragMove} {w x y} { --- 155,199 ---- proc {deleteObject} {} { global PgAcVar # Checking if there ! set objs [.pgaw:Schema.c find withtag hili] ! set numobj [llength $objs] ! if {$numobj == 0 } return # Is object a link ? ! foreach obj $objs { ! if {[getTagInfo $obj link]=="s"} { ! if {[tk_messageBox -title [intlmsg Warning] -icon question -parent .pgaw:Schema -message [intlmsg "Remove link ?"] -type yesno -default no]=="no"} return ! set linkid [getTagInfo $obj lkid] ! set PgAcVar(schema,links) [lreplace $PgAcVar(schema,links) $linkid $linkid] ! .pgaw:Schema.c delete links ! drawLinks ! return ! } ! # Is object a table ? ! set tablealias [getTagInfo $obj tab] ! set tablename $PgAcVar(schema,tablename$tablealias) ! if {"$tablename"==""} return ! if {[tk_messageBox -title [intlmsg Warning] -icon question -parent .pgaw:Schema -message [format [intlmsg "Remove table %s from schema?"] $tablename] -type yesno -default no]=="no"} return ! for {set i [expr [llength $PgAcVar(schema,links)]-1]} {$i>=0} {incr i -1} { ! set thelink [lindex $PgAcVar(schema,links) $i] ! if {($tablename==[lindex $thelink 0]) || ($tablename==[lindex $thelink 2])} { ! set PgAcVar(schema,links) [lreplace $PgAcVar(schema,links) $i $i] ! } ! } ! for {set i 0} {$i<$PgAcVar(schema,ntables)} {incr i} { ! set temp {} ! catch {set temp $PgAcVar(schema,tablename$i)} ! if {"$temp"=="$tablename"} { ! unset PgAcVar(schema,tablename$i) ! unset PgAcVar(schema,tablestruct$i) ! break ! } ! } ! #incr PgAcVar(schema,ntables) -1 ! .pgaw:Schema.c delete tab$tablealias .pgaw:Schema.c delete links drawLinks } } proc {dragMove} {w x y} { *************** *** 196,202 **** set dx [expr $x - $PgAcVar(draginfo,x)] set dy [expr $y - $PgAcVar(draginfo,y)] if {$PgAcVar(draginfo,is_a_table)} { ! $w move $PgAcVar(draginfo,tabletag) $dx $dy drawLinks } else { $w move $PgAcVar(draginfo,obj) $dx $dy --- 202,208 ---- set dx [expr $x - $PgAcVar(draginfo,x)] set dy [expr $y - $PgAcVar(draginfo,y)] if {$PgAcVar(draginfo,is_a_table)} { ! $w move dragme $dx $dy drawLinks } else { $w move $PgAcVar(draginfo,obj) $dx $dy *************** *** 206,212 **** } ! proc {dragStart} {w x y} { global PgAcVar PgAcVar:clean draginfo,* set PgAcVar(draginfo,obj) [$w find closest $x $y] --- 212,218 ---- } ! proc {dragStart} {w x y state} { global PgAcVar PgAcVar:clean draginfo,* set PgAcVar(draginfo,obj) [$w find closest $x $y] *************** *** 223,230 **** set taglist [.pgaw:Schema.c gettags $PgAcVar(draginfo,obj)] set PgAcVar(draginfo,tabletag) [lindex $taglist [lsearch -regexp $taglist "^tab\[0-9\]*"]] .pgaw:Schema.c raise $PgAcVar(draginfo,tabletag) ! .pgaw:Schema.c itemconfigure [.pgaw:Schema.c find withtag hili] -fill black ! .pgaw:Schema.c dtag [.pgaw:Schema.c find withtag hili] hili .pgaw:Schema.c addtag hili withtag $PgAcVar(draginfo,obj) .pgaw:Schema.c itemconfigure hili -fill blue } else { --- 229,240 ---- set taglist [.pgaw:Schema.c gettags $PgAcVar(draginfo,obj)] set PgAcVar(draginfo,tabletag) [lindex $taglist [lsearch -regexp $taglist "^tab\[0-9\]*"]] .pgaw:Schema.c raise $PgAcVar(draginfo,tabletag) ! if {$state == 0} { ! .pgaw:Schema.c itemconfigure hili -fill black ! .pgaw:Schema.c dtag hili ! .pgaw:Schema.c dtag dragme ! } ! .pgaw:Schema.c addtag dragme withtag $PgAcVar(draginfo,tabletag) .pgaw:Schema.c addtag hili withtag $PgAcVar(draginfo,obj) .pgaw:Schema.c itemconfigure hili -fill blue } else { *************** *** 247,253 **** # Re-establish the normal paint order so # information won't be overlapped by table rectangles # or link lines ! .pgaw:Schema.c lower $PgAcVar(draginfo,obj) .pgaw:Schema.c lower rect .pgaw:Schema.c lower links set PgAcVar(schema,panstarted) 0 --- 257,267 ---- # Re-establish the normal paint order so # information won't be overlapped by table rectangles # or link lines ! if {$PgAcVar(draginfo,is_a_table)} { ! .pgaw:Schema.c lower $PgAcVar(draginfo,tabletag) ! } else { ! .pgaw:Schema.c lower $PgAcVar(draginfo,obj) ! } .pgaw:Schema.c lower rect .pgaw:Schema.c lower links set PgAcVar(schema,panstarted) 0 *************** *** 327,352 **** # Source object is on the left of target object set x1 $sre set y1 [expr ([lindex $sbbox 1]+[lindex $sbbox 3])/2] - .pgaw:Schema.c create line $x1 $y1 [expr $x1+10] $y1 \ - -tags [subst {links lkid$i}] -width 3 set x2 [lindex $dbbox 0] set y2 [expr ([lindex $dbbox 1]+[lindex $dbbox 3])/2] ! .pgaw:Schema.c create line [expr $x2-10] $y2 $x2 $y2 \ ! -tags [subst {links lkid$i}] -width 3 ! .pgaw:Schema.c create line [expr $x1+10] $y1 [expr $x2-10] $y2 \ ! -tags [subst {links lkid$i}] -width 2 } else { # source object is on the right of target object set x1 [lindex $sbbox 0] set y1 [expr ([lindex $sbbox 1]+[lindex $sbbox 3])/2] - .pgaw:Schema.c create line $x1 $y1 [expr $x1-10] $y1 \ - -tags [subst {links lkid$i}] -width 3 set x2 $dre set y2 [expr ([lindex $dbbox 1]+[lindex $dbbox 3])/2] ! .pgaw:Schema.c create line $x2 $y2 [expr $x2+10] $y2 -width 3 \ ! -tags [subst {links lkid$i}] ! .pgaw:Schema.c create line [expr $x1-10] $y1 [expr $x2+10] $y2 \ ! -tags [subst {links lkid$i}] -width 2 } incr i } --- 341,362 ---- # Source object is on the left of target object set x1 $sre set y1 [expr ([lindex $sbbox 1]+[lindex $sbbox 3])/2] set x2 [lindex $dbbox 0] set y2 [expr ([lindex $dbbox 1]+[lindex $dbbox 3])/2] ! .pgaw:Schema.c create line $x1 $y1 [expr $x1+10] $y1 \ ! [expr $x1+10] $y1 [expr $x2-10] $y2 \ ! [expr $x2-10] $y2 $x2 $y2 \ ! -tags [subst {links lkid$i}] -width 2 } else { # source object is on the right of target object set x1 [lindex $sbbox 0] set y1 [expr ([lindex $sbbox 1]+[lindex $sbbox 3])/2] set x2 $dre set y2 [expr ([lindex $dbbox 1]+[lindex $dbbox 3])/2] ! .pgaw:Schema.c create line $x1 $y1 [expr $x1-10] $y1 \ ! [expr $x1-10] $y1 [expr $x2+10] $y2 \ ! $x2 $y2 [expr $x2+10] $y2 \ ! -tags [subst {links lkid$i}] -width 2 } incr i } *************** *** 405,412 **** global PgAcVar set obj [.pgaw:Schema.c find closest $x $y 1 links] if {[getTagInfo $obj link]!="s"} return ! .pgaw:Schema.c itemconfigure [.pgaw:Schema.c find withtag hili] -fill black ! .pgaw:Schema.c dtag [.pgaw:Schema.c find withtag hili] hili .pgaw:Schema.c addtag hili withtag $obj .pgaw:Schema.c itemconfigure $obj -fill blue } --- 415,422 ---- global PgAcVar set obj [.pgaw:Schema.c find closest $x $y 1 links] if {[getTagInfo $obj link]!="s"} return ! .pgaw:Schema.c itemconfigure hili -fill black ! .pgaw:Schema.c dtag hili .pgaw:Schema.c addtag hili withtag $obj .pgaw:Schema.c itemconfigure $obj -fill blue } *************** *** 457,464 **** set PgAcVar(schema,panobject) tables if {$canpan} { if {[.pgaw:Schema.c find withtag hili]!=""} { ! .pgaw:Schema.c itemconfigure [.pgaw:Schema.c find withtag hili] -fill black ! .pgaw:Schema.c dtag [.pgaw:Schema.c find withtag hili] hili } .pgaw:Schema configure -cursor hand1 --- 467,474 ---- set PgAcVar(schema,panobject) tables if {$canpan} { if {[.pgaw:Schema.c find withtag hili]!=""} { ! .pgaw:Schema.c itemconfigure hili -fill black ! .pgaw:Schema.c dtag hili } .pgaw:Schema configure -cursor hand1 *************** *** 482,488 **** toplevel $base -class Toplevel wm focusmodel $base passive wm geometry $base 759x530+10+13 ! wm maxsize $base 1280 1024 wm minsize $base 1 1 wm overrideredirect $base 0 wm resizable $base 1 1 --- 492,498 ---- toplevel $base -class Toplevel wm focusmodel $base passive wm geometry $base 759x530+10+13 ! wm maxsize $base [winfo screenwidth .] [winfo screenheight .] wm minsize $base 1 1 wm overrideredirect $base 0 wm resizable $base 1 1 *************** *** 558,566 **** entry $base.f.esn \ -background #fefefe -borderwidth 1 -textvariable PgAcVar(schema,name) label $base.f.lsn -text [intlmsg {Schema name}] - place $base.c -x 5 -y 30 -width 748 -height 500 -anchor nw -bordermode ignore - place $base.f \ - -x 5 -y 5 -width 748 -height 25 -anchor nw -bordermode ignore pack $base.f.l \ -in .pgaw:Schema.f -anchor center -expand 0 -fill none -side left pack $base.f.e \ --- 568,573 ---- *************** *** 580,585 **** --- 587,594 ---- pack $base.f.lsn \ -in .pgaw:Schema.f -anchor center -expand 0 -fill none -side right + pack $base.f -side top -anchor ne -expand 0 -fill x + pack $base.c -side bottom -fill both -expand 1 }
^ permalink raw reply [nested|flat] 6+ messages in thread

* Re: PgAccess schema-diagram cleanup
  2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
@ 2000-07-14 21:09 ` Bruce Momjian <pgman@candle.pha.pa.us>
  3 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2000-07-14 21:09 UTC (permalink / raw)
  To: Ross J. Reedstrom <reedstrm@rice.edu>; +Cc: pgsql-patches@postgresql.org

I have bounced this message to the pgaccess maintainer, and to the
interfaces list.  I would prefer Constantin to apply the patch to his
version, and issue a new release.


> Here's a patch to clean up some issues with the schema diagram
> editor in pgaccess. This patch:
> 
> 	* allows schema window to be resized up to full screen size
> 	* autosizes window on schema open
> 	* allows multiselect of tables (by shift click) to allow
> 		dragging of sets of tables
> 		deletion of sets of tables
> 	* fixes a bug in table deletion code that did not delete
> 	  links to that table properly
> 	* changes link lines to be continous, so they export better
> 		via postscript->pstoedit->xfig
> 	
> It does not change the name of the feature from schema, as I 
> asked about on HACKERS. I'm off for a week's vacation starting
> tomorrow, so I probably won't see any commentary on this until
> Monday the 24th
> 
> Ross
> -- 
> Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
> NSBRI Research Scientist/Programmer
> Computer and Information Technology Institute
> Rice University, 6100 S. Main St.,  Houston, TX 77005
> 

[ Attachment, skipping... ]


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [PATCHES] PgAccess schema-diagram cleanup
  2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
@ 2000-10-11 18:10 ` Bruce Momjian <pgman@candle.pha.pa.us>
  3 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2000-10-11 18:10 UTC (permalink / raw)
  To: Ross J. Reedstrom <reedstrm@rice.edu>; +Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>; teo@flex.ro

Can someone tell me where we are on this?  Constantin?

> Here's a patch to clean up some issues with the schema diagram
> editor in pgaccess. This patch:
> 
> 	* allows schema window to be resized up to full screen size
> 	* autosizes window on schema open
> 	* allows multiselect of tables (by shift click) to allow
> 		dragging of sets of tables
> 		deletion of sets of tables
> 	* fixes a bug in table deletion code that did not delete
> 	  links to that table properly
> 	* changes link lines to be continous, so they export better
> 		via postscript->pstoedit->xfig
> 	
> It does not change the name of the feature from schema, as I 
> asked about on HACKERS. I'm off for a week's vacation starting
> tomorrow, so I probably won't see any commentary on this until
> Monday the 24th
> 
> Ross
> -- 
> Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
> NSBRI Research Scientist/Programmer
> Computer and Information Technology Institute
> Rice University, 6100 S. Main St.,  Houston, TX 77005
> 

[ Attachment, skipping... ]


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [PATCHES] PgAccess schema-diagram cleanup
  2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
@ 2001-01-24 13:49 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2001-01-24 16:43   ` Re: [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
  3 siblings, 1 reply; 6+ messages in thread

From: Bruce Momjian @ 2001-01-24 13:49 UTC (permalink / raw)
  To: Ross J. Reedstrom <reedstrm@rice.edu>; +Cc: pgsql-interfaces; PostgreSQL-development <pgsql-hackers@postgreSQL.org>


Ross, this looks very good.  What happened to it?

> Here's a patch to clean up some issues with the schema diagram
> editor in pgaccess. This patch:
> 
> 	* allows schema window to be resized up to full screen size
> 	* autosizes window on schema open
> 	* allows multiselect of tables (by shift click) to allow
> 		dragging of sets of tables
> 		deletion of sets of tables
> 	* fixes a bug in table deletion code that did not delete
> 	  links to that table properly
> 	* changes link lines to be continous, so they export better
> 		via postscript->pstoedit->xfig
> 	
> It does not change the name of the feature from schema, as I 
> asked about on HACKERS. I'm off for a week's vacation starting
> tomorrow, so I probably won't see any commentary on this until
> Monday the 24th
> 
> Ross
> -- 
> Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
> NSBRI Research Scientist/Programmer
> Computer and Information Technology Institute
> Rice University, 6100 S. Main St.,  Houston, TX 77005
> 

[ Attachment, skipping... ]


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [PATCHES] PgAccess schema-diagram cleanup
  2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
  2001-01-24 13:49 ` Re: [PATCHES] PgAccess schema-diagram cleanup Bruce Momjian <pgman@candle.pha.pa.us>
@ 2001-01-24 16:43   ` Ross J. Reedstrom <reedstrm@rice.edu>
  0 siblings, 0 replies; 6+ messages in thread

From: Ross J. Reedstrom @ 2001-01-24 16:43 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-interfaces; PostgreSQL-development <pgsql-hackers@postgresql.org>

It got bounced to Constantin. I'm not sure if it's made it in, there.
I'll ping him and see if he needs a new patch.

Ross

On Wed, Jan 24, 2001 at 08:49:13AM -0500, Bruce Momjian wrote:
> 
> Ross, this looks very good.  What happened to it?
> 
> > Here's a patch to clean up some issues with the schema diagram
> > editor in pgaccess. This patch:
> > 
> > 	* allows schema window to be resized up to full screen size
> > 	* autosizes window on schema open
> > 	* allows multiselect of tables (by shift click) to allow
> > 		dragging of sets of tables
> > 		deletion of sets of tables
> > 	* fixes a bug in table deletion code that did not delete
> > 	  links to that table properly
> > 	* changes link lines to be continous, so they export better
> > 		via postscript->pstoedit->xfig
> > 	
> > It does not change the name of the feature from schema, as I 
> > asked about on HACKERS. I'm off for a week's vacation starting
> > tomorrow, so I probably won't see any commentary on this until
> > Monday the 24th
> > 
> > Ross



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: PgAccess schema-diagram cleanup
  2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
@ 2001-01-27 18:18 ` Bruce Momjian <pgman@candle.pha.pa.us>
  3 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2001-01-27 18:18 UTC (permalink / raw)
  To: Ross J. Reedstrom <reedstrm@rice.edu>; +Cc: pgsql-patches@postgresql.org


Wohoo, looks like this was applied.  We will ship the new pgaccess
version with 7.1.

> Here's a patch to clean up some issues with the schema diagram
> editor in pgaccess. This patch:
> 
> 	* allows schema window to be resized up to full screen size
> 	* autosizes window on schema open
> 	* allows multiselect of tables (by shift click) to allow
> 		dragging of sets of tables
> 		deletion of sets of tables
> 	* fixes a bug in table deletion code that did not delete
> 	  links to that table properly
> 	* changes link lines to be continous, so they export better
> 		via postscript->pstoedit->xfig
> 	
> It does not change the name of the feature from schema, as I 
> asked about on HACKERS. I'm off for a week's vacation starting
> tomorrow, so I probably won't see any commentary on this until
> Monday the 24th
> 
> Ross
> -- 
> Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
> NSBRI Research Scientist/Programmer
> Computer and Information Technology Institute
> Rice University, 6100 S. Main St.,  Houston, TX 77005
> 

[ Attachment, skipping... ]


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2001-01-27 18:18 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-07-14 20:27 [PATCHES] PgAccess schema-diagram cleanup Ross J. Reedstrom <reedstrm@rice.edu>
2000-07-14 21:09 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-10-11 18:10 ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-24 13:49 ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-24 16:43   ` Ross J. Reedstrom <reedstrm@rice.edu>
2001-01-27 18:18 ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox