Re: [HACKERS] pg_tables bug?

2015-12-19 Thread Gaetano Mendola
On Sat, Dec 19, 2015, 01:50 Andrew Dunstan wrote: > > > > > On 12/18/2015 05:18 PM, Gaetano Mendola wrote: > > From documentation about "CREATE DATABASE name WITH TABLESAPCE = > > tablespace_name": > > > > tablespace_name > > The name of the tablespace that will be

Re: [HACKERS] pg_tables bug?

2015-12-18 Thread Andrew Dunstan
On 12/18/2015 05:18 PM, Gaetano Mendola wrote: From documentation about "CREATE DATABASE name WITH TABLESAPCE = tablespace_name": tablespace_name The name of the tablespace that will be associated with the new database, or DEFAULT to use the template database's tablespace. This tablespace

Re: [HACKERS] pg_tables bug?

2015-12-18 Thread Gaetano Mendola
>From documentation about "CREATE DATABASE name WITH TABLESAPCE = tablespace_name": tablespace_name The name of the tablespace that will be associated with the new database, or DEFAULT to use the template database's tablespace. This tablespace will be the default tablespace used for objects

Re: [HACKERS] pg_tables bug?

2015-12-18 Thread Gaetano Mendola
On Thu, 17 Dec 2015 at 15:36 Tom Lane wrote: > Gaetano Mendola writes: > > I'm playing around with tablespace (postgresq 9.4) and I found out what I > > believe is a bug in pg_tables. > > Basically if you create a database in a table space X and then you >

Re: [HACKERS] pg_tables bug?

2015-12-17 Thread Tom Lane
Gaetano Mendola writes: > I'm playing around with tablespace (postgresq 9.4) and I found out what I > believe is a bug in pg_tables. > Basically if you create a database in a table space X and then you create a > table on the database the table is created correctly on the

Re: [HACKERS] pg_tables bug?

2015-12-17 Thread Michael Paquier
On Thu, Dec 17, 2015 at 4:54 PM, Gaetano Mendola wrote: > I'm playing around with tablespace (postgresq 9.4) and I found out what I > believe is a bug in pg_tables. > Basically if you create a database in a table space X and then you create a > table on the database the table

[HACKERS] pg_tables bug?

2015-12-16 Thread Gaetano Mendola
I'm playing around with tablespace (postgresq 9.4) and I found out what I believe is a bug in pg_tables. Basically if you create a database in a table space X and then you create a table on the database the table is created correctly on the tablespace X ( I did a check on the filesystem) however