Re: [HACKERS] Client Messages

2012-03-14 Thread Robert Haas
On Thu, Mar 8, 2012 at 8:40 AM, Robert Haas wrote: > On Wed, Feb 29, 2012 at 9:39 PM, Fujii Masao wrote: >>>  Do we have an updated patch?  Fujii? >> >> No. I believe that the author Jim will submit the updated version. > > Jim, are you going to submit an updated version? Hearing no response, I'

Re: [HACKERS] Client Messages

2012-03-08 Thread Robert Haas
On Wed, Feb 29, 2012 at 9:39 PM, Fujii Masao wrote: >>  Do we have an updated patch?  Fujii? > > No. I believe that the author Jim will submit the updated version. Jim, are you going to submit an updated version? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL

Re: [HACKERS] Client Messages

2012-02-29 Thread Fujii Masao
On Thu, Mar 1, 2012 at 4:13 AM, Alvaro Herrera wrote: > > Excerpts from Heikki Linnakangas's message of jue ene 26 15:58:58 -0300 2012: >> On 26.01.2012 17:31, Tom Lane wrote: > >> > The idea that occurs to me is to have the code that uses the GUC do a >> > verify_mbstr(noerror) on it, and silentl

Re: [HACKERS] Client Messages

2012-02-29 Thread Alvaro Herrera
Excerpts from Heikki Linnakangas's message of jue ene 26 15:58:58 -0300 2012: > On 26.01.2012 17:31, Tom Lane wrote: > > The idea that occurs to me is to have the code that uses the GUC do a > > verify_mbstr(noerror) on it, and silently ignore it if it doesn't pass > > (maybe with a LOG message).

Re: [HACKERS] Client Messages

2012-01-26 Thread Heikki Linnakangas
On 26.01.2012 17:31, Tom Lane wrote: Heikki Linnakangas writes: The thing is, there's currently no encoding conversion happening, so if you have one database in LATIN1 encoding and another in UTF-8, for example, whatever you put in your postgresql.conf is going to be wrong for one database. I'm

Re: [HACKERS] Client Messages

2012-01-26 Thread Peter Eisentraut
On tor, 2012-01-26 at 10:34 +0200, Heikki Linnakangas wrote: > For postgresql.conf I think we could make a rule that it's always in > UTF-8. We haven't had to take a stance on the encoding used in > postgresql.conf before, but IMHO UTF-8 only would be quite reasonable. We have so far violently r

Re: [HACKERS] Client Messages

2012-01-26 Thread Tom Lane
Heikki Linnakangas writes: > The thing is, there's currently no encoding conversion happening, so if > you have one database in LATIN1 encoding and another in UTF-8, for > example, whatever you put in your postgresql.conf is going to be wrong > for one database. I'm happy to just document the i

Re: [HACKERS] Client Messages

2012-01-26 Thread Heikki Linnakangas
On 25.01.2012 15:29, Jim Mlodgenski wrote: On Tue, Jan 24, 2012 at 7:38 AM, Heikki Linnakangas wrote: There's one little problem remaining with this, which is what to do if the message is in a different encoding than used by the client? That's not a new problem, we have the same problem with a

Re: [HACKERS] Client Messages

2012-01-25 Thread Jim Mlodgenski
On Tue, Jan 24, 2012 at 7:38 AM, Heikki Linnakangas wrote: > On 23.01.2012 22:52, Jim Mlodgenski wrote: >> >> On Wed, Jan 18, 2012 at 9:19 AM, Jim Mlodgenski  wrote: >>> >>> On Wed, Jan 18, 2012 at 3:08 AM, Heikki Linnakangas I don't think that's a problem, it's just a free-form message

Re: [HACKERS] Client Messages

2012-01-23 Thread Jim Mlodgenski
On Wed, Jan 18, 2012 at 9:19 AM, Jim Mlodgenski wrote: > On Wed, Jan 18, 2012 at 3:08 AM, Heikki Linnakangas > wrote: >> On 18.01.2012 07:49, Fujii Masao wrote: >>> >>> On Fri, Jan 6, 2012 at 1:38 AM, Jim Mlodgenski  wrote: I have a need to send banner messages to a psql client that I c

Re: [HACKERS] Client Messages

2012-01-18 Thread Jim Mlodgenski
On Wed, Jan 18, 2012 at 3:08 AM, Heikki Linnakangas wrote: > On 18.01.2012 07:49, Fujii Masao wrote: >> >> On Fri, Jan 6, 2012 at 1:38 AM, Jim Mlodgenski  wrote: >>> >>> I have a need to send banner messages to a psql client that I can set >>> on the server and will be displayed on any psql client

Re: [HACKERS] Client Messages

2012-01-18 Thread Heikki Linnakangas
On 18.01.2012 07:49, Fujii Masao wrote: On Fri, Jan 6, 2012 at 1:38 AM, Jim Mlodgenski wrote: I have a need to send banner messages to a psql client that I can set on the server and will be displayed on any psql client that connects to the database. This would be mostly used as an additional in

Re: [HACKERS] Client Messages

2012-01-17 Thread Fujii Masao
On Fri, Jan 6, 2012 at 1:38 AM, Jim Mlodgenski wrote: > I have a need to send banner messages to a psql client that I can set > on the server and will be displayed on any psql client that connects > to the database. This would be mostly used as an additional indicator > to which database you are c

Re: [HACKERS] Client Messages

2012-01-05 Thread Kevin Grittner
Jim Mlodgenski wrote: > Any feedback is welcome. You might want to add it here to make sure it doesn't slip through the cracks: https://commitfest.postgresql.org/action/commitfest_view/open -Kevin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to yo

[HACKERS] Client Messages

2012-01-05 Thread Jim Mlodgenski
I have a need to send banner messages to a psql client that I can set on the server and will be displayed on any psql client that connects to the database. This would be mostly used as an additional indicator to which database you are connecting, but could also be used by people to force their user