From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_NUMERIC_TLD autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,28a24746aa07c732 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newshub.stanford.edu!news.kjsl.com!news-peer-lilac.gradwell.net!not-for-mail From: "Stuart" Newsgroups: comp.lang.ada References: Subject: Re: Design help Date: Tue, 13 Mar 2007 08:52:31 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original Message-ID: <45f66313$1_1@glkas0286.greenlnk.net> X-Original-NNTP-Posting-Host: glkas0286.greenlnk.net NNTP-Posting-Host: 20.133.0.1 X-Trace: 1173775971 news.gradwell.net 758 dnews/20.133.0.1:36202 X-Complaints-To: news-abuse@gradwell.net Xref: g2news1.google.com comp.lang.ada:14505 Date: 2007-03-13T08:52:31+00:00 List-Id: "Carroll, Andrew" wrote in message news:mailman.120.1173747027.18371.comp.lang.ada@ada-france.org... > I hope to have the database records be variable length however it may > make my life easier if they are fixed length due to the fact that some > of the record structures contain pointers. I guess that would be access > type instead of pointer, anyway... ... > I can get rid of the string_ptr and set a default string size. I may have missed some earlier discussion (you mention Ludovic's previous comments). Have you considered what your pointer (accessor) is actually pointing to and where the value contained in that object is actually held relative to your database? (In particular consider the lifespan of the object value compared to the pointer value in the database). Regards -- Stuart