describe relation between LDAP entries - Mailing list pgsql-general

From Mihamina Rakotomandimby
Subject describe relation between LDAP entries
Date
Msg-id 20100113164328.2cd96b70@pbmiha.malagasy.com
Whole thread Raw
Responses Re: describe relation between LDAP entries  (Mihamina Rakotomandimby <mihamina@gulfsat.mg>)
List pgsql-general
Manao ahoana, Hello, Bonjour,

I have LDAP entries, and SQL tables are the relation between them.
There are only relations between 2 entries.

There are "modem" and "customers" entries in the LDAP directory

I need advice on optimizing the way I store relations.
For example (This is on MySQL, just for the example)

  SELECT * FROM customer_has_modem;
  +-----------------+----------------+
  | customer        | modem          |
  +-----------------+----------------+
  | a=aa,b=bb,c=ccc | d=dd,e=ee,f=ff |
  +-----------------+----------------+

Is it OK?

Have you another way to do it?
 - splitting the comma separated fields?
 - whatever?

There might later be be a "date" field in this table to trace the modem
movements.

Misaotra, Thanks, Merci.

--
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36

pgsql-general by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: What happens when you kill the postmaster?
Next
From: Mihamina Rakotomandimby
Date:
Subject: Re: describe relation between LDAP entries