Thread: Connection dialogue size in case of a remote server
Hi,
When we try to connect to a remote database server or name of the server is a bit long , text gets cut because of additional information of the server. Please find attached patch to fix it..
--
Dharmendra Goyal
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91-20-30589493
Mobile: +91-9552103323
Website: http://www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb
This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.
When we try to connect to a remote database server or name of the server is a bit long , text gets cut because of additional information of the server. Please find attached patch to fix it..
Regards,
--
Dharmendra Goyal
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91-20-30589493
Mobile: +91-9552103323
Website: http://www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb
This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.
Attachment
Thanks - patch applied. On Fri, Jan 13, 2012 at 8:31 AM, Dharmendra Goyal <dharmendra.goyal@enterprisedb.com> wrote: > Hi, > > When we try to connect to a remote database server or name of the server is > a bit long , text gets cut because of additional information of the server. > Please find attached patch to fix it.. > > Regards, > > -- > Dharmendra Goyal > Senior Software Engineer > EnterpriseDB Corporation > The Enterprise Postgres Company > > Phone: +91-20-30589493 > Mobile: +91-9552103323 > > Website: http://www.enterprisedb.com > EnterpriseDB Blog: http://blogs.enterprisedb.com/ > Follow us on Twitter: http://www.twitter.com/enterprisedb > > This e-mail message (and any attachment) is intended for the use of the > individual or entity to whom it is addressed. This message contains > information from EnterpriseDB Corporation that may be privileged, > confidential, or exempt from disclosure under applicable law. If you are not > the intended recipient or authorized to receive this for the intended > recipient, any use, dissemination, distribution, retention, archiving, or > copying of this communication is strictly prohibited. If you have received > this e-mail in error, please notify the sender immediately by reply e-mail > and delete this message. > > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
On Fri, 2012-01-13 at 09:25 +0000, Dave Page wrote: > Thanks - patch applied. > > On Fri, Jan 13, 2012 at 8:31 AM, Dharmendra Goyal > <dharmendra.goyal@enterprisedb.com> wrote: > > Hi, > > > > When we try to connect to a remote database server or name of the server is > > a bit long , text gets cut because of additional information of the server. > > Please find attached patch to fix it.. > > Well, this fixes the issue for this example. But I guess that, if I put a text a little longer than yours, it'll screw up again, right? -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com PostgreSQL Sessions #3: http://www.postgresql-sessions.org
On Fri, Jan 13, 2012 at 9:32 AM, Guillaume Lelarge <guillaume@lelarge.info> wrote: > On Fri, 2012-01-13 at 09:25 +0000, Dave Page wrote: >> Thanks - patch applied. >> >> On Fri, Jan 13, 2012 at 8:31 AM, Dharmendra Goyal >> <dharmendra.goyal@enterprisedb.com> wrote: >> > Hi, >> > >> > When we try to connect to a remote database server or name of the server is >> > a bit long , text gets cut because of additional information of the server. >> > Please find attached patch to fix it.. >> > > > Well, this fixes the issue for this example. But I guess that, if I put > a text a little longer than yours, it'll screw up again, right? Right - this allows a 2 line description to display properly. Any longer than that and you'll still have issues - but that doesn't seem like it's worth spending too much effort on as that's likely to be a rare (and slightly unusable case). Overflowing to a second line is pretty easy to do, even with a reasonable length description. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
On Fri, Jan 13, 2012 at 3:02 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
On Fri, 2012-01-13 at 09:25 +0000, Dave Page wrote:Well, this fixes the issue for this example. But I guess that, if I put
> Thanks - patch applied.
>
> On Fri, Jan 13, 2012 at 8:31 AM, Dharmendra Goyal
> <dharmendra.goyal@enterprisedb.com> wrote:
> > Hi,
> >
> > When we try to connect to a remote database server or name of the server is
> > a bit long , text gets cut because of additional information of the server.
> > Please find attached patch to fix it..
> >
a text a little longer than yours, it'll screw up again, right?
Yes, it will if size of the name field is unusually long. But in case of remote machine's information even moderate size was creating issues.
Dharmendra Goyal
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91-20-30589493
Mobile: +91-9552103323
Website: http://www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb
This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.