151081176a557aac0a1c3774171ff5f68b7792d0
[freeside.git] / htdocs / docs / postgresql.html
1 <head>
2   <title>PostgreSQL notes</title>
3 </head>
4 <body>
5   <h1>PostgreSQL notes</h1>
6 <p>
7 PostgreSQL ships by default with a maximum of 31 character column names.  If
8 you use arbitrary RADIUS attributes longer than 9 characters, fs-setup will
9 fail with `duplicate column' errors (in the part_svc table).
10 Solution: use a different database
11 engine, or recompile PostgreSQL with 64 character column names.
12 </p>
13 Future versions of Freeside will keep all column names under 31 characters to
14 avoid this problem.
15 </p>
16 <p>
17 ( I've personally been unable to get PostgreSQL working with larger column names,
18 though the process does look like it should be straightforward.  If anyone is
19 interested in assisting me with this, please get in touch.
20  -Ivan <a href="mailto:ivan@sisd.com">&lt;ivan@sisd.com</a>&gt; )
21 </p>
22 </body>
23