Re: [HACKERS] RC1 / Beta4?

2011-07-30 Thread Martin Atukunda
Hi All,

Just a quick question because I don't get the reference to the
europeans. What do they have to do with the final release in August?

:)

Thanks,

- Martin -

On Sat, Jul 30, 2011 at 2:58 AM, Joshua Berkus j...@agliodbs.com wrote:
 All,

 Where are we on RC1 or Beta4 for PostgreSQL 9.1?

 While I know we're doing going to do a final release in August due to the 
 europeans, it would be nice to move things along before then.  There don't 
 seem to be any blockers open.

 --
 Josh Berkus
 PostgreSQL Experts Inc.
 http://pgexperts.com
 San Francisco

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


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


Re: [HACKERS] RC1 / Beta4?

2011-07-30 Thread Martin Atukunda
Now I understand.

At the day job we were being pushed hard to have some tests completed
before or on 30th June. The major push behind this was a French man!
:)

And yes, he's off for the next 2-3 weeks, and we did complete the tests!

- Martin -

On Sat, Jul 30, 2011 at 12:44 PM, Dave Page dp...@pgadmin.org wrote:


 On Saturday, July 30, 2011, Lou Picciano loupicci...@comcast.net wrote:
 I think it's just that the Europeans - wisely - have a habit of taking
 these long summer vacations (!)
 They also tend to be taller and better-looking than the rest of us, and
 have better food and wine.
 :)  Lou

 This would be one of those few moments when Brits admit to being part of
 Europe...

 :-)

 Back on topic, there are people away next week who we rely on for releases,
 and both I and the QA team who test the installers will be unavailable the
 following week. After that the majority of people we need for a release
 should be around I think.

 --
 Dave Page
 Blog: http://pgsnake.blogspot.com
 Twitter: @pgsnake

 EnterpriseDB UK: http://www.enterprisedb.com
 The Enterprise PostgreSQL Company



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


Re: [HACKERS] Patch: psql \whoami option

2010-01-27 Thread Martin Atukunda
How about using the psql prompt to convey this information? IIRC the  
psql prompt can be configured to show the hostname, server, port and  
other fields. Wouldn't this be enough? or am I missing something?


- Martin -

On 27 Jan 2010, at 13:01, Magnus Hagander wrote:


2010/1/27 Josh Berkus j...@agliodbs.com:

On 1/26/10 3:24 PM, David Christensen wrote:

-hackers,

In the spirit of small, but hopefully useful interface improvement
patches, enclosed for your review is a patch for providing psql  
with a

\whoami command (maybe a better name is \conninfo or similar).  Its
purpose is to print information about the current connection, by  
default
in a human-readable format.  There is also an optional format  
parameter

which currently accepts 'dsn' as an option to output the current
connection information as a DSN.


On a first note, it seems like the check for the parameter dsn isn't
complete. Without testing it, it looks like it would be possible to
run \whoami foobar, which should give an error.



oooh, I could really use this.  +1 to put it in 9.1-first CF.

however, \conninfo is probably the better name.  And what about a


+1 on that name.


postgresql function version for non-psql connections?


How could that function possibly know what the connection looks like
from the client side? Think NAT, think proxies, think connection
poolers.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

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



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


Re: [HACKERS] [PATCHES] psql 'none' as a HISTFILE special case

2006-08-25 Thread Martin Atukunda

On 8/21/06, Bruce Momjian [EMAIL PROTECTED] wrote:

Tom Lane wrote:
 Neil Conway [EMAIL PROTECTED] writes:
  On Mon, 2006-08-21 at 19:27 +0300, Martin Atukunda wrote:
  If readline is used by psql, a history file is automatically used.
  This patch adds the special file name 'none', which if set as the
  HISTFILE parameter, will cause psql not to use the history file.

  I think it would be cleaner to use a separate \set variable to control
  whether a history file is written, rather than needlessly overloading
  the meaning of HISTFILE.

 Why is this useful at all?  There's already the -n (don't use readline)
 switch.

Seems he wants readline without history, perhaps for security.  Doesn't
setting HISTFILE to /dev/null work?


hmm, setting HISTFILE to /dev/null doesn't work on my MacOSX here. so
I whipped up this patch.

- Martin -

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [HACKERS] [PATCHES] psql 'none' as a HISTFILE special case

2006-08-25 Thread Martin Atukunda

On 8/25/06, Peter Eisentraut [EMAIL PROTECTED] wrote:

Am Freitag, 25. August 2006 17:03 schrieb Martin Atukunda:
 hmm, setting HISTFILE to /dev/null doesn't work on my MacOSX here.

Please elaborate on doesn't work.



without any .psqlrc file I get the following error when quitting a psql session:

could not save history to file /Users/matlads/.psql_history: Invalid argument

When I set HISTFILE to /dev/null I get the following:

could not save history to file /dev/null: Operation not permitted

- Martin -

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [HACKERS] [PATCHES] psql 'none' as a HISTFILE special case

2006-08-25 Thread Martin Atukunda

On 8/25/06, Tom Lane [EMAIL PROTECTED] wrote:

 When I set HISTFILE to /dev/null I get the following:
 could not save history to file /dev/null: Operation not permitted

Hm.  ktrace shows this happening:

 23279 psql CALL  open(0x302d70,0x601,0x1b6)
 23279 psql NAMI  /dev/null
 23279 psql RET   open 3
 23279 psql CALL  fchmod(0x3,0x180)
 23279 psql RET   fchmod -1 errno 1 Operation not permitted
 23279 psql CALL  close(0x3)
 23279 psql RET   close 0
 23279 psql CALL  write(0x2,0xb180,0x44)
 23279 psql GIO   fd 2 wrote 68 bytes
   could not save history to file /dev/null: Operation not permitted
   
 23279 psql RET   write 68/0x44
 23279 psql CALL  exit(0)

There's probably no way to get Apple's libedit to not try the fchmod,
so what do we want to do here?  Maybe special-case the string
/dev/null?


If this is OK, I can up with a patch that special cases /dev/null as a
HISTFILE if libedit is found.

- Martin -

---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org


Re: [HACKERS] [PATCHES] psql 'none' as a HISTFILE special case

2006-08-25 Thread Martin Atukunda

On 8/25/06, Tom Lane [EMAIL PROTECTED] wrote:

Martin Atukunda [EMAIL PROTECTED] writes:
 On 8/25/06, Tom Lane [EMAIL PROTECTED] wrote:
 There's probably no way to get Apple's libedit to not try the fchmod,
 so what do we want to do here?  Maybe special-case the string
 /dev/null?

 If this is OK, I can up with a patch that special cases /dev/null as a
 HISTFILE if libedit is found.

I was thinking of basically a one-liner addition to write_history
to skip the whole thing if strcmp(fname, DEVNULL) == 0.  Should be
reasonably inoffensive on anyone's machine.


I guess you meant saveHistory instead of write_history here. :)

something like the attached diff

- Martin -


special_case_DEVNULL.diff
Description: Binary data

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly