[PATCHES] psql error in \? output on \w line

2004-01-07 Thread Zach Irmen
As far as I can tell, the file argument for \w is required; this contradicts what \? says for it (namely that it's optional). A patch follows to fix this if it really is an error and not my misunderstanding. Zach Irmen === RCS file

Re: [PATCHES] psql \i handling ~ in specified file name

2004-01-07 Thread Zach Irmen
get substituted. Zach Irmen ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [PATCHES] psql \i handling ~ in specified file name

2003-12-21 Thread Zach Irmen
the number of times strings are strdup'd only to be freed again? I don't think doing it this way makes the code simpler --- it took me a fair while to convince myself there was no memory leak. Ok. I cut it down to one dup within the function. Attempt 2 is below. -- Zach Irmen Index: command.c

Re: [PATCHES] psql \i handling ~ in specified file name

2003-12-21 Thread Zach Irmen
Andrew Dunstan [EMAIL PROTECTED] writes: Zach Irmen said: Can I just ifndef WIN32 and not think about it? I'm not sure how that would work either. If we are going to have a Windows port I don't think we should treat it as a poor cousin. I guess I was thinking more about if it should