home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / ref / postquel / merge < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.4 KB  |  65 lines

  1. .\" XXX standard disclaimer belongs here....
  2. .\" $Header: /private/postgres/ref/postquel/RCS/merge,v 1.5 1992/07/14 05:54:17 ptong Exp $
  3. .SP MERGE COMMANDS 6/14/90
  4. .XA 2 Merge
  5. .uh NAME
  6. .lp
  7. merge \*- merge two classes
  8. .uh SYNOPSIS
  9. .lp
  10. .(l
  11. \fBmerge\fR classname1 \fBinto\fR classname2
  12. .)l
  13. .uh DESCRIPTION
  14. .lp
  15. .b Merge
  16. will combine a version class, 
  17. .i classname1 ,
  18. with its parent,
  19. .i classname2 .
  20. If 
  21. .i classname2 
  22. is a base class, then
  23. this operation merges a differently encoded offset,
  24. .i classname1 ,
  25. into its parent.  On the other hand, if 
  26. .i classname2 
  27. is also a version,
  28. then this operation combines two differentially
  29. encoded offsets together into a single one.
  30. In either case any children of 
  31. .i classname1
  32. becomes children of
  33. .i classname2 .
  34. .lp
  35. It is disallowed for a version class to
  36. be merged into its parent class when the parent class
  37. is also the parent of another version class.
  38. .lp
  39. Moreover, merging in the reverse direction is also allowed.
  40. Specifically, merging the parent,
  41. .i classname1 ,
  42. with a version,
  43. .i classname2 ,
  44. causes
  45. .i classname2
  46. to become disassociated from its parent.
  47. As a side effect,
  48. .i classname1
  49. will be destroyed if is not the parent of
  50. some other version class.
  51. .uh EXAMPLE
  52. .lp
  53. .ft C
  54. /* Combine office class and employee class */
  55.  
  56. merge office into employee
  57. .ft
  58. .uh "SEE ALSO"
  59. .lp
  60. destroy(commands),
  61. create version(commands).
  62. .uh BUGS
  63. .lp
  64. Merge has not yet been implemented.
  65.