summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-07-18Finished the Between patch Christopher started.Bruce Momjian
Implements between (symmetric / asymmetric) as a node. Executes the left or right expression once, makes a Const out of the resulting Datum and executes the >=, <= portions out of the Const sets. Of course, the parser does a fair amount of preparatory work for this to happen. Rod Taylor
2002-07-18Here is a patch for the Table Function API. It fixes a bug found by NeilBruce Momjian
Conway (BuildTupleFromCStrings sets NULL for pass-by-value types when intended value is 0). It also implements some other improvements suggested by Neil. Joe Conway
2002-07-18Add comment to file about port files.Bruce Momjian
2002-07-18Fix breakage for pltcl modules. pg_get_enconv_by_encoding() has beenTatsuo Ishii
changed since CREATE CONVERSION supported.
2002-07-18Move libc replacement files from src/backend/port to src/port.Bruce Momjian
2002-07-18Make src/backend/port/*.c file location dependent only on configure.in.Bruce Momjian
2002-07-18I have committed many support files for CREATE CONVERSION. DefaultTatsuo Ishii
conversion procs and conversions are added in initdb. Currently supported conversions are: UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR, EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC, JOHAB, TCVN EUC_JP <--> SJIS EUC_TW <--> BIG5 MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5 Note that initial contents of pg_conversion system catalog are created in the initdb process. So doing initdb required is ideal, it's possible to add them to your databases by hand, however. To accomplish this: psql -f your_postgresql_install_path/share/conversion_create.sql your_database So I did not bump up the version in cataversion.h. TODO: Add more conversion procs Add [CASCADE|RESTRICT] to DROP CONVERSION Add tuples to pg_depend Add regression tests Write docs Add SQL99 CONVERT command? -- Tatsuo Ishii
2002-07-16Add more dependency insertions --- this completes the basic pg_dependTom Lane
functionality. Of note: dropping a table that has a SERIAL column defined now drops the associated sequence automatically.
2002-07-16fixed bug in support for timestamp without time zone reported by Yuva ↵Barry Lind
Chandolu (ychandolu@ebates.com)
2002-07-16Oops, sometimes strtol isn't called in pg_atoi, so we do need that badpBruce Momjian
check.
2002-07-16Fix tid to in/out as unsigned.Bruce Momjian
2002-07-16Add initdb code to set up initial contents of pg_depend, pinning allTom Lane
objects created during initdb (except for the system views, which I think do not need to be pinned).
2002-07-16Add conversion procs for CREATE CONVERSIONTatsuo Ishii
2002-07-16Fix typoTatsuo Ishii
2002-07-16Add FindDefaultConversionProcTatsuo Ishii
2002-07-16Add code to extract dependencies from an expression tree, and use itTom Lane
to build dependencies for rules, constraint expressions, and default expressions. Repair some problems in the original design of recursiveDeletion() exposed by more complex dependency sets. Fix regression tests that were deleting things in illegal sequences.
2002-07-16Add DLLINIT mention in port/Makefile.Bruce Momjian
2002-07-16Move few remaining src/utils files to backend/port so everything is inBruce Momjian
one place. Everything may be moved to src/utils eventually. Add DLLINIT variable to simplify makfiles.
2002-07-16Mark 'line' as 'not implemented' in SGML and psql \dT, per ThomasBruce Momjian
Lockhart. initdb not forced.
2002-07-15Remove indenting of Makefile comments, per Peter.\Bruce Momjian
2002-07-15Remove utils/getopt.c file, not needed, it only allowed "--flag"Bruce Momjian
warnings, and we now look for getopt_long in libgetopt.a.
2002-07-15Remove certain Makefile dependencies by using full pathnames inBruce Momjian
configure.in.
2002-07-15Use the dependency mechanism to manage column defaults. We need thisTom Lane
so that dependencies in default expressions (on operators, functions, etc) can be expressed properly.
2002-07-15Fix make_ctags for exhuberant tags.Bruce Momjian
2002-07-15Fix a bug about the handling of '.' in parse.c.Hiroshi Inoue
2002-07-15Improve relcache.c error reporting for the next guy who has to debugBruce Momjian
this thing.
2002-07-15Fix \? and \pset pager handling. \? wasn't honoring pager before.Bruce Momjian
2002-07-14Add COMMENT ON CONSTRAINT facility (from Rod Taylor's pg_constraint patch).Tom Lane
Fix comment.c to not depend on parser token values, per discussion awhile back.
2002-07-14In DeleteAttributeTuples, use a single indexscan instead of the multipleTom Lane
scans that will most likely be caused by SearchSysCache probes. Also, share some code between index deletion and table deletion.
2002-07-13Fix testing of partial-index predicates to work correctly in cases whereTom Lane
varno of index's relation is not 1. This embarrassing oversight pointed out by Dmitry Tkach 12-Jul-02.
2002-07-13Add SET statement_timeout capability. Timeout is in ms. A value ofBruce Momjian
zero turns off the timer.
2002-07-12Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.Tom Lane
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY constraints all have real live entries in pg_constraint. pg_depend exists, and RESTRICT/CASCADE options work on most kinds of DROP; however, pg_depend is not yet very well populated with dependencies. (Most of the ones that are present at this point just replace formerly hardwired associations, such as the implicit drop of a relation's pg_type entry when the relation is dropped.) Need to add more logic to create dependency entries, improve pg_dump to dump constraints in place of indexes and triggers, and add some regression tests.
2002-07-12Changed getCrossReference to return information about each composite key ↵Dave Cramer
seperately It used to return them as a,b in one row, and now returns a in one row, and b in one row
2002-07-12An improvement of User Interface(Setup dialog) by Dave Page.Hiroshi Inoue
2002-07-121) Fix a memory leak in use declare/fetch mode.Hiroshi Inoue
2) Change default build mode to multibyte(Windows).
2002-07-11Change error messages ExecAppend->ExecInsert and ExecReplace->ExecUpdateBruce Momjian
as discussed on hackers.
2002-07-11Add new CREATE CONVERSION/DROP CONVERSION command.Tatsuo Ishii
This is the first cut toward CREATE CONVERSION/DROP CONVERSION implementaion. The commands can now add/remove tuples to the new pg_conversion system catalog, but that's all. Still need work to make them actually working. Documentations, regression tests also need work.
2002-07-11Fix getopt flags. Man thing thing was messed up.Bruce Momjian
2002-07-11Fix another --help typo in pg_restore.Bruce Momjian
2002-07-11Make NAMEDATALEN changeable at compile time.Hiroshi Inoue
2002-07-10fix bug in getTime() with fractional seconds reported by Laurette Cisneros ↵Barry Lind
(laurette@nextbus.com)
2002-07-09Oops, proper initialization for domainTypMod was none at all, not 0.Bruce Momjian
2002-07-09Fix compiler warning:Bruce Momjian
int32 domainTypMod = NULL; should be: int32 domainTypMod = 0;
2002-07-08Fix case syntax for freebsd template.Bruce Momjian
2002-07-08Fix typo in xl_heaptid commentBruce Momjian
Manfred Koizar
2002-07-07Move CXX platform-specific stuff into template files.Bruce Momjian
2002-07-07Convert expr to case, for Peter E.Bruce Momjian
2002-07-06I've fixed up the way domain constraints (not null and type length)Bruce Momjian
are managed as per request. Moved from merging with table attributes to applying themselves during coerce_type() and coerce_type_typmod. Regression tests altered to test the cast() scenarios. Rod Taylor
2002-07-06Add comments about sharing.Bruce Momjian
2002-07-06Move simple_prompt() into its own file to be shared with psql and pg_dump.Bruce Momjian