Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-06-18 Thread MauMau
From: "Fujii Masao" On Wed, Jun 18, 2014 at 7:47 PM, MauMau wrote: I marked this as ready for committer. The patch is good because it matches the description in the following page: http://www.postgresql.org/docs/devel/static/manage-ag-templatedbs.html ISTM that this patch has already been

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-06-18 Thread Fujii Masao
On Wed, Jun 18, 2014 at 7:47 PM, MauMau wrote: > From: "Rajeev rastogi" > >> Please find the attached patch with only documentation change. > > > I marked this as ready for committer. The patch is good because it matches > the description in the following page: > > http://www.postgresql.org/docs

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-06-18 Thread MauMau
From: "Rajeev rastogi" Please find the attached patch with only documentation change. I marked this as ready for committer. The patch is good because it matches the description in the following page: http://www.postgresql.org/docs/devel/static/manage-ag-templatedbs.html Regards MauMau

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-04-01 Thread Rajeev rastogi
On 27 March 2014 17:16, Tom Lane Wrote: > I agree we need to make the docs match the code, but changing behavior > that's been like that for ten or fifteen years isn't the answer. Sounds good. Please find the attached patch with only documentation change. Thanks and Regards, Kumar Rajeev Rastog

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-03-27 Thread Magnus Hagander
On Mar 27, 2014 12:45 PM, "Tom Lane" wrote: > > Magnus Hagander writes: > > On Thu, Mar 27, 2014 at 9:12 AM, Rajeev rastogi > > wrote: > >> But current code does not behave in this manner. Even if dbistemplate of > >> database is false, still it allows to be used as template database. > > > AFAI

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-03-27 Thread Tom Lane
Magnus Hagander writes: > On Thu, Mar 27, 2014 at 9:12 AM, Rajeev rastogi > wrote: >> But current code does not behave in this manner. Even if dbistemplate of >> database is false, still it allows to be used as template database. > AFAICT, the *only* thing datistemplate is used is to set paramet

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-03-27 Thread Stephen Frost
* Magnus Hagander (mag...@hagander.net) wrote: > However, that also raises a third option. We could just drop the idea if > datistemplate completely, and remove the column. Since clearly it's not > actually doing anything, and people seem to have been happy with that for a > while, why do we need i

Re: [HACKERS] datistemplate of pg_database does not behave as per description in documentation

2014-03-27 Thread Magnus Hagander
On Thu, Mar 27, 2014 at 9:12 AM, Rajeev rastogi wrote: > As per the documentation, datistemplate of pg_database is used in > following way: > > > > datistemplate > > Bool > > If true then this database can be used in the TEMPLATE clause of CREATE > DATABASE to create a new database as a clone of