- Jul 25, 2003
-
-
Bruce Momjian authored
> > It seems that readline() on my system (FreeBSD 4.8) isn't declared to > > take the prompt as a const. Thus, remove const from gets_interactive() > > to remove the warning. > > I think it would be a lot cleaner to just put a cast to char * into the > readline call (with a note about why). Ok.. that works. I must say it's a little strange being able to take a constant and say its no longer constant anymore -- but I suppose it's no different than defining then undefining pre-processor constants. Rod Taylor <rbt@rbt.ca>
-
- Jul 23, 2003
-
-
Peter Eisentraut authored
-
- Mar 20, 2003
-
-
Bruce Momjian authored
now, my changes seem to work. Some possible minor bugs got squished on the way but I can't be sure without more feedback from people who really put the code to the test. The new patch mostly simplifies variable handling and reduces code duplication. Changes in the command parser eliminate some redundant variables (boolean state + depth counter), replaces some "else if" constructs with switches, and so on. It is meant to be applied together with my previous patch, although I hope they don't conflict; I went back to the CVS version for this one. One more thing I thought should perhaps be changed: an IGNOREEOF value of n will ignore only n-1 EOFs. I didn't want to touch this for fear of breaking existing applications, but it does seem a tad illogical. Jeroen T. Vermeulen
-
Bruce Momjian authored
7.3.2). It removes some code duplication and #ifdeffing, and some unstructured ugliness such as tacky breaks and an unneeded continue. Breaks up a large function into smaller functions and reduces required nesting levels, and kills a variable or two. Jeroen T. Vermeulen
-
- Sep 06, 2002
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Cleanup up memory allocation for $HOME in related psql places. Update mention of $HOME/.pgpass in the docs; add mention in pg_dumpall.
-
- Apr 11, 2002
-
-
Peter Eisentraut authored
and --without-zlib to turn them off.
-
- Oct 25, 2001
-
-
Bruce Momjian authored
tests pass.
-
- Sep 12, 2001
-
-
Peter Eisentraut authored
-
- Feb 27, 2001
-
-
Tatsuo Ishii authored
-
- Feb 10, 2001
-
-
Tom Lane authored
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
-
- Nov 27, 2000
-
-
Tom Lane authored
Avoid infinite loop prompting for password at stdin EOF.
-
- Apr 12, 2000
-
-
Bruce Momjian authored
-
- Feb 20, 2000
-
-
Peter Eisentraut authored
Improved psql's Ctrl-C handling Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
-
Tom Lane authored
-
- Feb 16, 2000
-
-
Bruce Momjian authored
-
- Feb 08, 2000
-
-
Peter Eisentraut authored
Fixed libpq printing functions
-
- Jan 29, 2000
-
-
Peter Eisentraut authored
Initdb help correction Changed end/abort to commit/rollback and changed related notices Commented out way old printing functions in libpq Fixed a typo in alter table / alter column
-
- Jan 19, 2000
-
-
Peter Eisentraut authored
-
- Jan 14, 2000
-
-
Peter Eisentraut authored
-
- Dec 20, 1999
-
-
Tom Lane authored
-
- Dec 10, 1999
-
-
Bruce Momjian authored
Also, minor tweakage of tab completion, and I hope the output is flushed on time now. -- Peter Eisentraut Sernanders väg 10:115
-
- Nov 26, 1999
-
-
Bruce Momjian authored
rate it's better than what used to be there. * Does proper SQL "host variable" substitution as pointed out by Andreas Zeugwetter (thanks): select * from :foo; Also some changes in how ':' and ';' are treated (escape with \ to send to backend). This does _not_ affect the '::' cast operator, but perhaps others that contain : or ; (but there are none right now). * To show description with a <something> listing, append '?' to command name, e.g., \df?. This seemed to be the convenient and logical solution. Or append a '+' to see more useless information, e.g., \df+. * Fixed fflush()'ing bug pointed out by Jan during the regression test discussion. * Added LastOid variable. This ought to take care of TODO item "Add a function to return the last inserted oid, for use in psql scripts" (under CLIENTS) E.g., insert into foo values(...); insert into bar values(..., :LastOid); \echo $LastOid * \d command shows constraints, rules, and triggers defined on the table (in addition to indices) * Various fixes, optimizations, corrections * Documentation update as well Note: This now requires snprintf(), which, if necessary, is taken from src/backend/port. This is certainly a little weird, but it should suffice until a source tree cleanup is done. Enjoy. -- Peter Eisentraut Sernanders väg 10:115
-
- Nov 05, 1999
-
-
Bruce Momjian authored
-
- Nov 04, 1999
-
-
Bruce Momjian authored
-