Re: Bootstrap DATA is a pita

From: Greg Stark <stark(at)mit(dot)edu>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bootstrap DATA is a pita
Date: 2015-03-02 22:05:18
Message-ID: CAM-w4HN5G_A+TqAcnPXJ3d3+6y=H0YmN-Z1Lnn6qK2bQneiW=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Feb 21, 2015 at 11:08 PM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> The changes in pg_proc.h are just to demonstrate that using names
> instead of oids works.

Fwiw I always thought it was strange how much of our bootstrap was
done in a large static text file. Very little of it is actually needed
for bootstrapping and we could get by with a very small set followed
by a bootstrap script written in standard SQL, not unlike how the
system views are created. It's much easier to type CREATE OPERATOR and
CREATE OPERATOR CLASS with all the symbolic names instead of having to
fill in the table.

--
greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2015-03-02 22:05:43 Re: POLA violation with \c service=
Previous Message Andres Freund 2015-03-02 21:56:47 Re: How about to have relnamespace and relrole?