Reply to Re: Why won't this code work in Postgresql and php?

Your name:

Reply:


Posted by Erwin Moller on 12/17/92 11:55

Tim Roberts wrote:

> "rich" <rhdyes@gmail.com> wrote:
>>
>>I have done some reading and I can't remember where that states if you
>>don't need to use OID's don't. There is a finite number of them within
>>the database and you can hit that limit. I know its a huge number, but
>>why use them?
>
> 4 billion. It takes one hell of a lot of INSERTs to get to 4 billion.
>
>>I usually have my primary keys on each of the tables I design. Isn't
>>that redundant?
>
> Usually.
>
> (That's a little joke. If you "usually have primary keys", then OIDs will
> usually be redundant.)

LOL, indeed. :-)
To OP: I was also joking when I asked what your problem was with OIDs.
You don't need them if you design your databases good (=all tables have
PK/serials and all references are enforced via Foreign Keys).

Regards,
Erwin Moller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация