Re: 9.4 Proposal: Initdb creates a single table

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Marti Raudsepp <marti(at)juffo(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.4 Proposal: Initdb creates a single table
Date: 2014-04-24 14:58:01
Message-ID: CAFcNs+rym-3C56w=-W14avvF0skYz9edvGMB7RxR7oA5GZqJsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 24, 2014 at 11:21 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>wrote:

>
> 2014-04-24 15:40 GMT+02:00 Marti Raudsepp <marti(at)juffo(dot)org>:
>
> On Wed, Apr 23, 2014 at 11:26 AM, David Rowley <dgrowleyml(at)gmail(dot)com>
>> wrote:
>> > but for a long time I've thought that it would be nice if
>> > PostgreSQL came with an example database that had a number of tables,
>> > perhaps that mock up some easy to relate to real-world application.
>> These
>> > would be very useful to use as examples in the documents instead of
>> > inventing them in the ad-hoc way that we currently do. Like here:
>> > http://www.postgresql.org/docs/9.3/static/tutorial-window.html
>>
>> I think that's a great idea. I'm not convinced it should be created by
>> default in initdb, but a "CREATE EXTENSION sample_data" seems easy
>> enough for newbies to use and has a good chance of getting merged into
>> contrib.
>>
>
> Good idea
>
>
+1

This "sample data" can be very useful to many things:
* trainning
* automated tests
* benchmark ???

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-04-24 15:02:44 Re: slow startup due to LWLockAssign() spinlock
Previous Message Tom Lane 2014-04-24 14:57:40 Re: 9.4 Proposal: Initdb creates a single table