<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Message</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h3
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"Times New Roman";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mark, thank you.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I am in the early stages of our design, and
I didn’t want to head off in a direction that would require signifigant
upgrades so soon.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The part that concerned me, was the “OID
usage forced” in the postgis-users list, but I see now it is the
geometry_columns table <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>that is predominately affected.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Paul<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>R. Paul Warriner<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Network Coordinator<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Town of <st1:place w:st="on"><st1:PlaceName
 w:st="on">Orchard</st1:PlaceName> <st1:PlaceType w:st="on">Park</st1:PlaceType></st1:place><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>4295 South Buffalo St</span></font></st1:address></st1:Street><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>Orchard Park</span></font></st1:City><font size=2 color=navy
 face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>, <st1:State
 w:st="on">NY</st1:State> <st1:PostalCode w:st="on">14127</st1:PostalCode></span></font></st1:place><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(716) 662-6403<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(716) 662-6479 fax<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
postgis-users-bounces@postgis.refractions.net
[mailto:postgis-users-bounces@postgis.refractions.net] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Mark Cave-Ayland<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 29, 2005
6:24 AM<br>
<b><span style='font-weight:bold'>To:</span></b> 'PostGIS Users Discussion'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [postgis-users] OID
usage with PosGIS</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hi Paul,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Row-level OIDS have not been mandatory in
PostgreSQL for several releases now; in previous releases specifying
a CREATE TABLE statement without any additional parameters would automatically
generate a table with row-level OIDS. However, as of 8.1 this behaviour will
change and so if OIDS are required then an explicit WITH OIDS clause must be
added to the CREATE TABLE clause of any table that requires them.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>The reason this is done for the
geometry_columns table is that it needs to refer to its own rows during certain
updates, and there is no unique key given in the Simple Features spec. I don't
think that the "churn rate" would be particularly high for a
geometry_columns table compared to normal tables anyway, so I can't see this
being a great problem.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Also if you are worried about general
PostGIS operation, PostGIS works fine without row level OIDS on tables. I've
recently dropped the OID column on some of our larger geometry tables in
production, and the only change I needed to make was to add a "using
UNIQUE" clause to the mapserver data clause used on our vector
server.  So in short, regardless of whether OIDS are enabled or disabled
by default with PostgreSQL, PostGIS will continue to work fine.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Kind regards,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Mark.</span></font><o:p></o:p></p>

</div>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'><!-- Converted from text/plain format -->------------------------<br>
WebBased Ltd<br>
South West Technology Centre<br>
<st1:place w:st="on"><st1:PlaceName w:st="on">Tamar</st1:PlaceName> <st1:PlaceName
 w:st="on">Science</st1:PlaceName> <st1:PlaceType w:st="on">Park</st1:PlaceType></st1:place><br>
<st1:City w:st="on"><st1:place w:st="on">Plymouth</st1:place></st1:City><br>
PL6 8BT<br>
<br>
T: +44 (0)1752 791021<br>
F: +44 (0)1752 791023<br>
W: <a href="http://www.webbased.co.uk/">http://www.webbased.co.uk</a><br>
 </span></font> <o:p></o:p></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
postgis-users-bounces@postgis.refractions.net
[mailto:postgis-users-bounces@postgis.refractions.net] <b><span
style='font-weight:bold'>On Behalf Of </span></b>R. Paul Warriner<br>
<b><span style='font-weight:bold'>Sent:</span></b> 28 September 2005 17:12<br>
<b><span style='font-weight:bold'>To:</span></b> postgis-users@postgis.refractions.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [postgis-users] OID usage
with PosGIS</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello Folks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Are OIDs something to be worried about with PostGIS, since
they will not be manadatory in the future for PostgreSQL?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Partial PostgreSQL FAQ:<o:p></o:p></span></font></p>

<h3 style='margin:0in;margin-bottom:.0001pt'><a name=4.12><b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:normal'>4.12</span></font></b></a><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:
normal'>) What is an OID? What is a CTID?<o:p></o:p></span></font></h3>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Every row that is created in
PostgreSQL gets a unique OID unless created WITHOUT OIDS. OIDs are
autotomatically assigned unique 4-byte integers that are unique across the
entire installation. However, they overflow at 4 billion, and then the OIDs
start being duplicated. PostgreSQL uses OIDs to link its internal system tables
together.<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>To uniquely number columns in user
tables, it is best to use SERIAL rather than OIDs because SERIAL sequences are
unique only within a single table. and are therefore less likely to overflow.
SERIAL8 is available for storing eight-byte sequence values.<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>CTIDs are used to identify specific
physical rows with block and offset values. CTIDs change after rows are
modified or reloaded. They are used by index entries to point to physical rows.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Partial PostGIS mail from <a
href="http://postgis.refractions.net/pipermail/postgis-users/2005-May/007995.html">http://postgis.refractions.net/pipermail/postgis-users/2005-May/007995.html</a>:<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Ok. Next release will have OID usage
forced.<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Both 1.0 and HEAD branches updated
like this.<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I wouldn't know where to put the
workaround documentation, hopefully<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>affected people are ok with this
list's archive.<o:p></o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Paul<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>R. Paul Warriner<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Network Coordinator<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Town of <st1:place w:st="on"><st1:PlaceName
 w:st="on">Orchard</st1:PlaceName> <st1:PlaceType w:st="on">Park</st1:PlaceType></st1:place><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>4295 South Buffalo St</span></font></st1:address></st1:Street><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>Orchard Park</span></font></st1:City><font size=2 color=navy
 face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>, <st1:State
 w:st="on">NY</st1:State> <st1:PostalCode w:st="on">14127</st1:PostalCode></span></font></st1:place><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(716) 662-6403<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(716) 662-6479 fax<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</blockquote>

</div>

</body>

</html>