Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   length of fields, posted by Paul Harrington on Wed Feb 23 13:02:59 2005 
    icon2.gif   Re: length of fields, posted by Stefan Ritt on Wed Mar 2 15:00:04 2005 
       icon2.gif   Re: length of fields, posted by Paul Harrington on Thu Mar 3 10:21:21 2005 
          icon2.gif   Re: length of fields, posted by Paul Harrington on Tue Mar 8 13:16:14 2005 
             icon2.gif   Re: length of fields, posted by Stefan Ritt on Tue Mar 8 20:28:49 2005 
Message ID: 975     Entry time: Tue Mar 8 13:16:14 2005     In reply to: 969     Reply to this: 979
Icon: Reply  Author: Paul Harrington  Author Email: paul.harrington@oup.com 
Category: Question  OS: All  ELOG Version:  
Subject: Re: length of fields 
The reason for the earlier question is that we are trying to use Elog to store 
data in a form we'd need to store more 1500 characters in more than one field.

Is it possible to get around this problem by having more then one main text field 
per record?

thanks

Paul

> > > When creating/updating entries in elog, excluding the main text field are 
> > > there any limits on the size of the other fields?
> > 
> > Yes, this is controlled by the variable NAME_LENGTH in elogd.c, which is
> > currently set to 1500 characters. You can try to increase this and recompile,
> > but at some point you will produce a stack overflow and elogd will crash. So
> > the current length is a compromise.
> > 
> > - Stefan
> 
> Thanks. Thats useful to know.
> 
> Paul
ELOG V3.1.5-fe60aaf