summaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
AgeCommit message (Collapse)Author
2006-06-01Respond to Jeremy Drake's original gripe that \copy needs to recognizeTom Lane
E'...' syntax for strings in order to track the backend.
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-01-01Update copyrights that were missed.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-01-25More fallout from the recent psql patch: rename xmalloc and friends toNeil Conway
pg_malloc, to avoid linker failures on same platforms.
2004-01-24This patch makes some of the memory manipulation performed by psql aNeil Conway
little more sane. Some parts of the code was using a static function xmalloc() that did safe memory allocation (where "safe" means "bail out on OOM"), but most of it was just invoking calloc() or malloc() directly. Now almost everything invokes xmalloc() or xcalloc().
2003-12-01This patch reduces some unsightly #ifdefs, and fixes two typos inBruce Momjian
comments in the psql code. This doesn't make any functional change, so feel free to save it for 7.5 Neil Conway
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-08-04Fix some copyright notices that weren't updated. Improve copyright toolTom Lane
so it won't miss 'em again.
2003-08-04pgindent run.Bruce Momjian
2003-03-10This patch fixes a bunch of spelling mistakes in comments throughout theTom Lane
PostgreSQL source code. Neil Conway
2002-10-19Fix psql's \copy to accept table names containing schemas, as well asTom Lane
a column list. Bring its parsing of quoted names and quoted strings somewhat up to speed --- I believe it now handles all non-error cases the same way the backend would, but weird boundary conditions are not necessarily done the same way.
2002-08-27Enable locale, so case conversion (identifier processing) and numberPeter Eisentraut
formatting (\timing) works correctly. Change "Total time" to "Time" since there is nothing that "total" refers to. Remove non-multibyte code.
2002-07-02The attached patch fixes a minor memory leak in psql.Bruce Momjian
Neil Conway
2001-02-27Massive commits for SunOS4 port.Tatsuo Ishii
2001-02-10Restructure the key include files per recent pghackers discussion: thereTom Lane
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.
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
2000-02-16Clean up include files use in psql.Bruce Momjian
2000-02-07Fixed psql double quoting of SQL idsPeter Eisentraut
Fixed libpq printing functions
2000-01-29A few minor psql enhancementsPeter Eisentraut
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
2000-01-18another set of cleanupsPeter Eisentraut
2000-01-15Adapt to the changes of libpq(eliminateing using putenv()).Tatsuo Ishii
1999-11-26Change // to /* */Bruce Momjian
1999-11-04psql cleanupBruce Momjian
1999-11-04Major psql overhaul by Peter Eisentraut.Bruce Momjian
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-05-13Fix to allow \f \ to make spaces as delimiter.Bruce Momjian
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-08-25pg_password utility. Cleanup for psql passwords. New datetime contrib ↵Bruce Momjian
stuff for new version. Fix for strutils needing config.h.
1997-08-19Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian
NOT_USED.
1997-02-13Various patches for nextstep by GregorHoffleitMarc G. Fournier
Replaced NEED_STRDUP by !HAVE_STRDUP
1996-11-26Whoops, redo Ultrix patch so the other ports still compile.Bryan Henderson
1996-11-26Make it compile on Ultrix. Thanks Erik Bertelson.Bryan Henderson
1996-11-14Overhaul MainLoop input processing for quotes, comments, backslashes.Bruce Momjian
1996-09-16The following diffs remove the various definitions of dupstr() and replaceMarc G. Fournier
all the calls with strdup. Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
1996-08-06applied kurt's patch to fix unlikely, but potential, string underflowJulian Assange
problem in psql
1996-07-28cosmetic changes: char* x changed to char *xMarc G. Fournier
submitted by: bruce
1996-07-09Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier