Peter Eisentraut wrote: > So assuming we allowed units in postgresql.conf, how would you report > them with SHOW? > > 1. The way they were set (hard) > > 2. Without units (not user-friendly) > > 3. Always in base units (seconds or bytes) > > 4. The largest unit that gives an integer > > (4) seems the most reasonable to me in terms of interface and > implementation.
4. would be the best option for human readers, but it would be a pain for a script that parses command output. Maybe 3. would be a good compromise. Yours, Laurenz Albe ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match