aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/mainloop.c
Commit message (Collapse)AuthorAge
...
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-28
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-25
| | | | tests pass.
* Native Language Support (NLS)Peter Eisentraut2001-06-02
| | | | | | | | | | | Use --enable-nls to turn it on; see installation instructions for details. See developer's guide how to make use of it in programs and how to add translations. psql sources have been almost fully prepared and an incomplete German translation has been provided. In the backend, only elog() calls are currently translatable, and the provided German translation file is more of a placeholder.
* pqsignal call needs to be #ifndef WIN32, per report from Magnus.Tom Lane2001-03-26
|
* Fix problems with coredumps due to ^C when longjmp buffer isn't valid.Tom Lane2001-03-23
| | | | Now, we will only catch ^C at times when it is valid.
* pgindent run. Make it all clean.Bruce Momjian2001-03-22
|
* Do not strip whitespace within quotes.Peter Eisentraut2001-02-28
|
* Restructure the key include files per recent pghackers discussion: thereTom Lane2001-02-10
| | | | | | | | | | | 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.
* Don't strip trailing backslashes from a line. Treat them more reasonably.Peter Eisentraut2000-07-17
|
* Implement nested block comments in the backend and in psql.Thomas G. Lockhart2000-07-14
| | | | | | | | | | | | | | Include updates for the comment.sql regression test. Implement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel. Implement SET SESSION CHARACTERISTICS TRANSACTION COMMIT and SET AutoCommit in the parser only. Need to add code to actually do something. Implement WITHOUT TIME ZONE type qualifier. Define SCHEMA keyword, along with stubbed-out grammar. Implement "[IN|INOUT|OUT] [varname] type" function arguments in parser only; INOUT and OUT throws an elog(ERROR). Add PATH as a type-specific token, since PATH is in SQL99 to support schema resource search and resolution.
* Fix select '1--2'; for PEter.Bruce Momjian2000-06-30
|
* Fix quotes in /* */ comments in psql.Bruce Momjian2000-06-29
|
* /home/peter/commit-msgPeter Eisentraut2000-05-12
|
* fixed another psql \e bug (handle newlines as whitespace)Peter Eisentraut2000-04-14
| | | | | | repaired psql option scanning bug (special treatment to \g |pipe) fixed ipcclean makefile made configure look for Perl to handle psql help build gracefully
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-12
|
* Fixed bug with repeated \e in psql (failed to clear buffers correctly)Peter Eisentraut2000-03-27
|
* Modify lexing of multi-char operators per pghackers discussion aroundTom Lane2000-03-18
| | | | | | | | | | 16-Mar-00: trailing + or - is not part of the operator unless the operator also contains characters not present in SQL92-defined operators. This solves the 'X=-Y' problem without unduly constraining users' choice of operator names --- in particular, no existing Postgres operator names become invalid. Also, remove processing of // comments, as agreed in the same thread.
* Fixed deficiency where an unterminated (no semicolon) command at end ofPeter Eisentraut2000-03-13
| | | | psql script would be dropped silently.
* Added configure test for readline's filename_completion_functionPeter Eisentraut2000-03-05
| | | | Completed psql's \? help
* More fixes for psql ^C handling, especially during copy. Still doesn'tPeter Eisentraut2000-03-01
| | | | | | cope so well with copy to but that will have to wait for the next release. Also added -X option to prevent reading .psqlrc startup file.
* Moved psql \eset and \eshow to \encodingPeter Eisentraut2000-02-20
| | | | | Improved psql's Ctrl-C handling Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
* Fix missing \n in some psql_error calls.Tom Lane2000-02-20
|
* Clean up include files use in psql.Bruce Momjian2000-02-16
|
* Adjusted psql echoing options (-a and -e)Peter Eisentraut2000-02-13
|
* Default argument for createdbPeter Eisentraut2000-02-10
| | | | Changed EXIT_ON_ERROR to ON_ERROR_STOP in psql
* Fixed psql double quoting of SQL idsPeter Eisentraut2000-02-07
| | | | Fixed libpq printing functions
* Made abstime/reltime use int4 instead of time_t (TODO item)Peter Eisentraut2000-01-24
| | | | | | Made type equivalency apply to aggregates (TODO item) Fixed parsing bug in psql Reverted some stupid options changes I made to pg_dump
* another set of cleanupsPeter Eisentraut2000-01-18
|
* Included all yacc and lex files into the distribution.Peter Eisentraut2000-01-16
|
* Adapt to the changes of libpq(eliminateing using putenv()).Tatsuo Ishii2000-01-15
|
* Fixed psql variables vs array syntax, as well as minor psql enhancementsPeter Eisentraut2000-01-14
|
* Fixed a few "fixes" and bugs. Adjusted messages and options to GNU suggestions.Peter Eisentraut2000-01-12
|
* Clear paren level flag on \r or any backslash command, rather thanBruce Momjian1999-12-16
| | | | keeping parenlevel unchanged.
* Fix for psql from Peter.Bruce Momjian1999-12-11
|
* Allow ; in () in psql.Bruce Momjian1999-12-11
|
* This should fix the \e (\p, \g, ...) behaviour on an empty query buffer.Bruce Momjian1999-12-10
| | | | | | | | Also, minor tweakage of tab completion, and I hope the output is flushed on time now. -- Peter Eisentraut Sernanders väg 10:115
* * Includes tab completion. It's not magic, but it's very cool. At anyBruce Momjian1999-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for psql control-d and .psqlrc that I broke. Fix for \dT withBruce Momjian1999-11-13
| | | | descriptions enabled.
* New NameStr macro to convert Name to Str. No need for var.data anymore.Bruce Momjian1999-11-07
| | | | | | Fewer calls to nameout. Better use of RelationGetRelationName.
* Fix EOF/control-D display in psql.Bruce Momjian1999-11-04
|
* psql cleanupBruce Momjian1999-11-04
|
* Major psql overhaul by Peter Eisentraut.Bruce Momjian1999-11-04