Lists: | pgsql-adminpgsql-bugs |
---|
From: | 許耀彰 <85131853(at)ss25(dot)mcu(dot)edu(dot)tw> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | postgresql downgrade issue |
Date: | 2015-11-12 12:11:03 |
Message-ID: | CAF8YJ8HomZe5sVb7QU8u+J5uY2BZAs_ae8wN3bB+8D=sdtt_mw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 꽁 머니SQL pgsql-bugs |
Dear Support Team,
If we use ubuntu server to install postgresql9.4, how can we keep original
data to downgrade postgresql from 9.4 to 9.3. Would it be possible to
support the guidance for us ? Thank you.
Best Regards, Anderson Hsu
From: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com> |
---|---|
To: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: postgresql downgrade issue |
Date: | 2015-11-13 02:44:07 |
Message-ID: | 56454E77.5080500@qunar.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
hi~~耀彰
you can first dump data from pg9.4 use pg_dump and then restore data to
pg9.3 use pg_restore.
I hope this can help you.
On 2015年11月12日 20:11, 許耀彰 wrote:
> Dear Support Team,
> If we use ubuntu server to install postgresql9.4, how can we keep
> original data to downgrade postgresql from 9.4 to 9.3. Would it be
> possible to support the guidance for us ? Thank you.
> Best Regards, Anderson Hsu
>
> 安全提 示:本邮件非QUNAR内部邮件,请注意保护个人及公司信息安全,如有索
> 取帐号密码等可疑情况请向secteam发送邮件
>
--
----------------------
张文升
From: | Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com> |
---|---|
To: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: postgresql downgrade issue |
Date: | 2015-11-13 02:59:08 |
Message-ID: | CAJGNTePEjOsN+dhxmgrx+yLTy00Rzydst4WtFSwAMaY=auXzUg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 사이트SQL 503 토토 베이 페치 실패 |
On 12 November 2015 at 21:44, 张文升 <wensheng(dot)zhang(at)qunar(dot)com> wrote:
>> On 2015年11月12日 20:11, 許耀彰 wrote:
>>
>> Dear Support Team,
>> If we use ubuntu server to install postgresql9.4, how can we keep original
>> data to downgrade postgresql from 9.4 to 9.3. Would it be possible to
>> support the guidance for us ? Thank you.
>> Best Regards, Anderson Hsu
>
> hi~~耀彰
>
> you can first dump data from pg9.4 use pg_dump and then restore data to
> pg9.3 use pg_restore.
> I hope this can help you.
>
>
Actually, he should use plain text format (pg_dump default) because
PostgreSQL doesn't support downgrade.
Btw, this is not a bug. Another mailing list should have been more
appropiate, for example: pgsql-general(at)postgresql(dot)org
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org, 85131853(at)ss25(dot)mcu(dot)edu(dot)tw |
Subject: | Re: postgresql downgrade issue |
Date: | 2015-11-13 19:30:05 |
Message-ID: | 20151113193005.GA27916@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
On Fri, Nov 13, 2015 at 10:44:07AM +0800, 张文升 wrote:
> hi~~耀彰
>
> you can first dump data from pg9.4 use pg_dump and then restore data to pg9.3
> use pg_restore.
> I hope this can help you.
The original poster was not CC'ed on the reply, so I have added him/her.
---------------------------------------------------------------------------
>
>
>
> On 2015年11月12日 20:11, 許耀彰 wrote:
>
> Dear Support Team,
> If we use ubuntu server to install postgresql9.4, how can we keep original
> data to downgrade postgresql from 9.4 to 9.3. Would it be possible to
> support the guidance for us ? Thank you.
> Best Regards, Anderson Hsu
>
>
> 安全提示:本邮件非QUNAR内部邮件,请注意保护个人及公司信息安全,如有索取帐号
> 密码等可疑情况请向 secteam发送邮件
>
>
> --
> ----------------------
> 张文升
>
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Roman grave inscription +
From: | Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com> |
---|---|
To: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com>, 85131853(at)ss25(dot)mcu(dot)edu(dot)tw |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: postgresql downgrade issue |
Date: | 2015-11-13 19:53:51 |
Message-ID: | CAJGNTePByq0g86Bz3wsHrWHn-4QsH423DhVaRwp5UPCiGzwvsA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
On 12 November 2015 at 21:59, Jaime Casanova
<jaime(dot)casanova(at)2ndquadrant(dot)com> wrote:
> On 12 November 2015 at 21:44, 张文升 <wensheng(dot)zhang(at)qunar(dot)com> wrote:
>>> On 2015年11月12日 20:11, 許耀彰 wrote:
>>>
>>> Dear Support Team,
>>> If we use ubuntu server to install postgresql9.4, how can we keep original
>>> data to downgrade postgresql from 9.4 to 9.3. Would it be possible to
>>> support the guidance for us ? Thank you.
>>> Best Regards, Anderson Hsu
>>
>> hi~~耀彰
>>
>> you can first dump data from pg9.4 use pg_dump and then restore data to
>> pg9.3 use pg_restore.
>> I hope this can help you.
>>
>>
Actually, he should use plain text format (pg_dump default) because
PostgreSQL doesn't support downgrade.
Btw, this is not a bug. Another mailing list should have been more
appropiate, for example: pgsql-general(at)postgresql(dot)org
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
From: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | <pgsql-admin(at)postgresql(dot)org>, <85131853(at)ss25(dot)mcu(dot)edu(dot)tw>, <jaime(dot)casanova(at)2ndquadrant(dot)com> |
Subject: | Re: [BUGS] postgresql downgrade issue |
Date: | 2015-11-16 02:37:09 |
Message-ID: | 56494155.8020308@qunar.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
Thank bruce and Jaime Casanova. I have moved mail to pgsql-admin.
On 2015年11月14日 03:30, Bruce Momjian wrote:
> On Fri, Nov 13, 2015 at 10:44:07AM +0800, 张文升 wrote:
>> hi~~耀彰
>>
>> you can first dump data from pg9.4 use pg_dump and then restore data to pg9.3
>> use pg_restore.
>> I hope this can help you.
> The original poster was not CC'ed on the reply, so I have added him/her.
>
> ---------------------------------------------------------------------------
>
>
>>
>>
>> On 2015年11月12日 20:11, 許耀彰 wrote:
>>
>> Dear Support Team,
>> If we use ubuntu server to install postgresql9.4, how can we keep original
>> data to downgrade postgresql from 9.4 to 9.3. Would it be possible to
>> support the guidance for us ? Thank you.
>> Best Regards, Anderson Hsu
>>
>>
>> 安全提示:本邮件非QUNAR内部邮件,请注意保护个人及公司信息安全,如有索取帐号
>> 密码等可疑情况请向 secteam发送邮件
>>
>>
>> --
>> ----------------------
>> 张文升
>>
--
----------------------
张文升 | PostgreSQL DBA
----------------------
pg开发指南 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=58058230
pg发布流程 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=56215301
pg值班列表 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=50508626
pg机器列表 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=36438672
From: | 許耀彰 <85131853(at)ss25(dot)mcu(dot)edu(dot)tw> |
---|---|
To: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-admin(at)postgresql(dot)org, jaime(dot)casanova(at)2ndquadrant(dot)com |
Subject: | Re: [BUGS] postgresql downgrade issue |
Date: | 2015-11-21 00:55:34 |
Message-ID: | CAF8YJ8F5+GSY5_-M0GtJydwNJeYkXi_2feEX4d3K5mNetE+Dzw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
Dear Support Team,
Thank you for your kindly assistance. How can we setup postgresql conf
file, because after we downgrade postgresql from 9.4 to 9.3, we can not
connect postgresql database from other computer? Thank you.
Best Regards, Anderson Hsu
2015-11-16 10:37 GMT+08:00 张文升 <wensheng(dot)zhang(at)qunar(dot)com>:
>
> Thank bruce and Jaime Casanova. I have moved mail to pgsql-admin.
>
> On 2015年11月14日 03:30, Bruce Momjian wrote:
> > On Fri, Nov 13, 2015 at 10:44:07AM +0800, 张文升 wrote:
> >> hi~~耀彰
> >>
> >> you can first dump data from pg9.4 use pg_dump and then restore data
> to pg9.3
> >> use pg_restore.
> >> I hope this can help you.
> > The original poster was not CC'ed on the reply, so I have added him/her.
> >
> >
> ---------------------------------------------------------------------------
> >
> >
> >>
> >>
> >> On 2015年11月12日 20:11, 許耀彰 wrote:
> >>
> >> Dear Support Team,
> >> If we use ubuntu server to install postgresql9.4, how can we keep
> original
> >> data to downgrade postgresql from 9.4 to 9.3. Would it be possible
> to
> >> support the guidance for us ? Thank you.
> >> Best Regards, Anderson Hsu
> >>
> >>
> >> 安全提示:本邮件非QUNAR内部邮件,请注意保护个人及公司信息安全,如有索取帐号
> >> 密码等可疑情况请向 secteam发送邮件
> >>
> >>
> >> --
> >> ----------------------
> >> 张文升
> >>
>
> --
> ----------------------
> 张文升 | PostgreSQL DBA
> ----------------------
> pg开发指南 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=58058230
> pg发布流程 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=56215301
> pg值班列表 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=50508626
> pg机器列表 http://wiki.corp.qunar.com/pages/viewpage.action?pageId=36438672
>
>
From: | Glauco Torres <torres(dot)glauco(at)gmail(dot)com> |
---|---|
To: | 許耀彰 <85131853(at)ss25(dot)mcu(dot)edu(dot)tw> |
Cc: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: [BUGS] postgresql downgrade issue |
Date: | 2015-11-24 12:30:41 |
Message-ID: | CAMd+QOTNRBS2qESRCDq1HJiwvBtnEMKysSWKLSy_gVJfGO7CMg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
Dear Support Team,
> Thank you for your kindly assistance. How can we setup postgresql conf
> file, because after we downgrade postgresql from 9.4 to 9.3, we can not
> connect postgresql database from other computer? Thank you.
> Best Regards, Anderson Hsu
>
>
> Hello,
Check your pg_hba.conf, this probably only released to the localhost (
127.0.0.1/32).
If you want all your network can access your database add this line to your
pg_hba.conf
host all all md5 0/0 (md5, trust and password, this is who you choose)
Once add, you need to reload the postgresql service.
[1] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
Regards,
Glauco Torres
From: | Glauco Torres <torres(dot)glauco(at)gmail(dot)com> |
---|---|
To: | 許耀彰 <85131853(at)ss25(dot)mcu(dot)edu(dot)tw> |
Cc: | 张文升 <wensheng(dot)zhang(at)qunar(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: [BUGS] postgresql downgrade issue |
Date: | 2015-11-24 12:54:21 |
Message-ID: | CAMd+QORFPtY0UZSAhZrjrf8M9Sbf17eYmrNOE2==4EAPiHyZzg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-bugs |
>
>
> Dear Support Team,
>> Thank you for your kindly assistance. How can we setup postgresql conf
>> file, because after we downgrade postgresql from 9.4 to 9.3, we can not
>> connect postgresql database from other computer? Thank you.
>> Best Regards, Anderson Hsu
>>
>>
>> Hello,
>
> Check your pg_hba.conf, this probably only released to the localhost (
> 127.0.0.1/32).
>
> If you want all your network can access your database add this line to
> your pg_hba.conf
>
> host all all md5 0/0 (md5, trust and password, this is who you
> choose)
>
> Once add, you need to reload the postgresql service.
>
> [1] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
>
>
I forgot listen_addresses the postgresql.conf parameter. If you want to
release for all connect it should be uncommented.
Like this example:
listen_addresses = '*'
If so you will need to Reboot the postgresql service
[1] http://www.postgresql.org/docs/9.4/static/runtime-config-connection.html
Regards,
Glauco Torres