PostgreSQL has an array data type :)


On Thu, 4 Apr 2002, Brett Sanger wrote:

> (sent to list -- Phil, if you want yours to the list, you might want to
> resend.  Have I mentioned lately I hate lists that don't reply-To by
> default?)
>
> > Is anyone's web server really that strapped for disk space? This kind of
> > compression is great for operating systems and disk controllers but is
> > generally inappropriate for things like web applications. Why say "$prefs |=
> > 32768" when you can say "$prefs[15] = 1"?
>
> Because databases don't store arrays?
>
> > a string can be a real challenge, whereas in a normalized (1NF+) database
> > it's trivial. OTOH, if you don't need the flexibility/scalability, you
> > probably don't need to bother.
>
> As I said, putting the permissions into databases is more powerful,
> but sometimes the above is easier to maintain than a table of permissions,
> a table of users, a table of which users are in which groups, a table of
> what permissions each group has, etc.
>
>
>
>
>
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/[email protected]/
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to