EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

command line --datadir does not work with postgresql-8.4.3-1 or postgresql-8.4.4-1 installers on Win  XML

Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Author Message
Roberto_Sotomayor

New member

Joined: 28 Jul 2010 11:25:55
Messages: 2
Offline

The command line --datadir does not work with postgresql-8.4.3-1 or postgresql-8.4.4-1 installers on Windows. It always defaults to C:\Program Files\PostgreSQL\8.4\data.

We are using these command lines:

postgresql-8.4.3-1-windows.exe --superpassword 123 --datadir C:\pgdata

postgresql-8.4.4-1-windows.exe --superpassword 123 --datadir C:\pgdata

Also, tested with the --optionfile and got same problem. The --superpassword option works fine.
We tested on clean machines with Windows XP SP3, Windows 7, and Windows 2008 SP2, getting same results.

We know the command --datadir works on the past, because we are been using it with postgresql-8.4.1-1 installer for almost a year without any problem. We ran same test on those clean computers with postgresql-8.4.1-1 installer and no problems at all.

One more thing that we notice, on the past when using the command lines with postgresql-8.4.1-1 installer, it always shows the Data Directory option on the Installer UI so you can see where the data will be store. With postgresql-8.4.3-1 or postgresql-8.4.4-1 installers, that option does not appear any more when using the command lines.

I will appreciate your help.

Thanks,

Roberto
 Filename install-postgresql.log [Disk] Download
 Description
 Filesize 296 Kbytes
 Downloaded:  185 time(s)

Sachin_S

Senior member

Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline

Hello,

Thanks for the bug report. This issue will be addressed in our next release. Though i will keep you updated on it in case you need an interim build.

--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
Roberto_Sotomayor

New member

Joined: 28 Jul 2010 11:25:55
Messages: 2
Offline

Thanks Sachin_S for your prompt reply.

FYI, when using the --datadir with --mode unattended, it works fine.
example:

postgresql-8.4.3-1-windows.exe --mode unattended --superpassword 123 --datadir C:\pgdata

However, in some cases we need to view UI to change the port number as example.

Thanks,

Roberto.

This message was edited 1 time. Last update was at 30 Jul 2010 12:24:11

juan_keisercomputers_com

New member

Joined: 23 Aug 2010 10:35:13
Messages: 2
Offline

Hi Sachin_S

Can we have the interim build?

Because we need to show the data directory, so the end users can change it any time during the installation. Normally, the data directory is install in different drive, but right now with the mode unattended you cannot do that, and the --datadir does not work without the mode unattended.

Thanks,

Juan
Sachin_S

Senior member

Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline

Hello,

The bug has been fixed in our latest release, the PostgreSQL 9.0 RC1 installer. Let me know if you want the fix in the 8.4 installers too. We are in a process of updating that also.

--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
juan_keisercomputers_com

New member

Joined: 23 Aug 2010 10:35:13
Messages: 2
Offline

Hi Sachin.

I will retest the installer and then I will let you know my findings.

Thanks,

Juan
 
Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Go to:   
Powered by JForum 2.1.8 © JForum Team