pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14000: initdb installs in 9.4 by default
3+ messages / 3 participants
[nested] [flat]

* BUG #14000: initdb installs in 9.4 by default
@ 2016-03-04 16:00 itparanoia@gmail.com
  2016-03-04 16:12 ` Re: BUG #14000: initdb installs in 9.4 by default Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: itparanoia@gmail.com @ 2016-03-04 16:00 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14000
Logged by:          Evgeniy Shishkin
Email address:      itparanoia@gmail.com
PostgreSQL version: 9.5.1
Operating system:   centos 7
Description:        

Running initdb without datadir parameter initializes in 9.4/data

/usr/pgsql-9.5/bin/initdb --locale=en_US.UTF-8 --encoding=UNICODE
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/pgsql/9.4/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/9.4/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
syncing data to disk ... ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.

Success. You can now start the database server using:

    /usr/pgsql-9.5/bin/pg_ctl -D /var/lib/pgsql/9.4/data -l logfile start



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #14000: initdb installs in 9.4 by default
  2016-03-04 16:00 BUG #14000: initdb installs in 9.4 by default itparanoia@gmail.com
@ 2016-03-04 16:12 ` Tom Lane <tgl@sss.pgh.pa.us>
  2016-03-04 16:15   ` Re: BUG #14000: initdb installs in 9.4 by default Evgeniy Shishkin <itparanoia@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2016-03-04 16:12 UTC (permalink / raw)
  To: itparanoia@gmail.com; +Cc: pgsql-bugs

itparanoia@gmail.com writes:
> Running [9.5] initdb without datadir parameter initializes in 9.4/data

There is no built-in default in initdb for what to use for the datadir
location.  The only way it would accept the command as written is if
you have an environment setting for PGDATA ... so presumably, the
problem is you've set PGDATA incorrectly.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #14000: initdb installs in 9.4 by default
  2016-03-04 16:00 BUG #14000: initdb installs in 9.4 by default itparanoia@gmail.com
  2016-03-04 16:12 ` Re: BUG #14000: initdb installs in 9.4 by default Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-03-04 16:15   ` Evgeniy Shishkin <itparanoia@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Evgeniy Shishkin @ 2016-03-04 16:15 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs


> On 04 Mar 2016, at 19:12, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> itparanoia@gmail.com writes:
>> Running [9.5] initdb without datadir parameter initializes in 9.4/data
> 
> There is no built-in default in initdb for what to use for the datadir
> location.  The only way it would accept the command as written is if
> you have an environment setting for PGDATA ... so presumably, the
> problem is you've set PGDATA incorrectly.
> 
> 			regards, tom lane

You are right.
Sorry for the noise.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-03-04 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-03-04 16:00 BUG #14000: initdb installs in 9.4 by default itparanoia@gmail.com
2016-03-04 16:12 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-03-04 16:15   ` Evgeniy Shishkin <itparanoia@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox