- Home
- Two Students and a Familiar Language
Two Students and a Familiar Language
In the last part we saw Postgres begin at Berkeley in 1986 as Ingres's ambitious successor and reach Version 3 by 1991. Gradually the research project found users outside the university too. But that very success brought a new problem.
When research turns into support
According to PostgreSQL's official history, Postgres was used to build many different research and production applications: a financial data analysis system, a jet engine performance monitoring package, an asteroid tracking database, a medical information database and several geographic information systems. Several universities also used it for teaching.
In late 1992 Postgres became the primary data manager for the Sequoia 2000 scientific computing project, and in 1993 the external user community nearly doubled. The same document says candidly that it became increasingly obvious that maintaining the prototype code and supporting users was taking up large amounts of time that should have gone into database research. To reduce that support burden, the Berkeley POSTGRES project officially ended with Version 4.2.
The commercial branch
Meanwhile, another road had opened. As Joseph Hellerstein tells it in "Looking Back at Postgres", the research project ramped down in 1992 with the founding of Stonebraker's start-up, Illustra. According to the official history, Illustra picked up the Postgres code and commercialized it, and was later merged into Informix, which is now owned by IBM.
So the ideas had found a way to market. But what would become of the university code itself?
Two students and a simple decision
In 1994 two students in Stonebraker's group, Andrew Yu and Jolly Chen, did something that looked simple: they added an SQL language interpreter to Postgres. SQL is the standard query language of relational databases. Until then Postgres had its own language, PostQUEL, so anyone who wanted to use it had to learn something new.
Hellerstein explains that the two modified the system's parser to accept an extensible variant of SQL instead of PostQUEL. Under a new name, Postgres95, the result was released to the web "to find its own way in the world", in the words of the official history, as an open-source descendant of the original Berkeley code.
Smaller, faster, more familiar
The changes went beyond the language. According to the official history, the Postgres95 code was completely ANSI C and trimmed in size by 25%. Its 1.0.x release ran about 30–50% faster on the Wisconsin Benchmark than POSTGRES Version 4.2. A new interactive program for SQL queries was added, and a short tutorial shipped with the source code.
The official release notes show the first Postgres95 release, 0.01, came out on 1 May 1995. Release 1.0 followed on 5 September 1995 with an important change: its copyright was loosened so that anyone could freely modify it for any purpose. The same note adds: "Thanks to Professor Michael Stonebraker for making this possible."
The turning point
The turning point of this part was the move to a language users already knew. For all its innovation, as long as Postgres spoke only its own language it was a high wall for most programmers. Adding SQL took that wall down, and releasing it on the web opened the project to everyone.
Lesson for businesses
First, speak your customer's language. An innovative product that forces customers to relearn everything is a hard sell.
Second, take support costs seriously. If support is eating your team's real work, it's time to decide how you work, before exhaustion makes the decision for you.
Third, a clear, generous licence opens the door to collaboration. One line of thanks in a release note shows that freeing the code was a deliberate, supported decision.
Next time: a name built to last, a team of volunteers around the world, and a project no company owns.
Sources
- "A Brief History of PostgreSQL" (sections 2.1, The Berkeley POSTGRES Project, and 2.2, Postgres95), PostgreSQL Documentation, PostgreSQL Global Development Group, n.d. — https://www.postgresql.org/docs/current/history.html
- Joseph M. Hellerstein, "Looking Back at Postgres", arXiv:1901.01973, 2019-01-07 — https://arxiv.org/abs/1901.01973
- "Postgres95 Release 0.01" (release date 1995-05-01), PostgreSQL release notes archive — https://www.postgresql.org/docs/release/0.01/
- "Release 1.0" (release date 1995-09-05), PostgreSQL release notes archive — https://www.postgresql.org/docs/release/1.0/