aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Seems we need <errno.h> to be included explicitly now...Tom Lane2000-07-08
|
* Remove long-dead support for invoking queries from dynamically loadedTom Lane2000-07-08
| | | | | | backend functions via backend PQexec(). The SPI interface has long been our only documented way to do this, and the backend pqexec/portal code is unused and suffering bit-rot. I'm putting it out of its misery.
* Put back separate install-bin target ... I was using that,Tom Lane2000-07-08
| | | | thank you ...
* Fix misuse of StrNCpy to copy and add null to non-null-terminated data.Tom Lane2000-07-07
| | | | | | | Does not work since it fetches one byte beyond the source data, and when the phase of the moon is wrong, the source data is smack up against the end of backend memory and you get SIGSEGV. Don't laugh, this is a fix for an actual user bug report.
* - format_type function, in use by psqlPeter Eisentraut2000-07-07
| | | | | - added bigint as synonym of int8 - set typelem of varlen non-array types to 0
* Rename cash_words_out to cash_words.Bruce Momjian2000-07-07
|
* |> The Makefile.shlib changes will have to be discussed with other LinuxBruce Momjian2000-07-07
| | | | | | | | | | | | | | | | | | |> developers so we are sure it will work on all platforms. The problem with the current settings is that the linker is called directly. This is wrong, it should always be called through the compiler driver (the only exception is `ld -r'). This will make sure that the necessary libraries like libgcc are linked in. But there is still a different problem with the setting of LDFLAGS_ODBC. The psqlodbc module defines the functions _init and _fini which are reserved for the shared library initialisation. These should be changed to constructor functions. Then LDFLAGS_ODBC can be changed to be just `-lm'. Btw, why does it use -Bsymbolic? Andreas Schwab
* Correct unsafe use of strcmp(). See rant of same date posted to pghackers.Tom Lane2000-07-06
|
* Backend makefile cleanup. make maintainer-clean is now completelyPeter Eisentraut2000-07-06
| | | | | | | | | | | | | | | functional. Handle include file installation in src/include/Makefile genbki.sh improvements: Don't substitute anything by config.status, instead pass in AWK and CPP through environment. Change calling convention to support named output files, so we get to see error messages on stderr. Rename bootstrap template files and install them into PREFIX/share. Update initdb to that effect and other readability improvements in initdb.
* Added comments about the compression algorithm as requested by TomJan Wieck2000-07-06
| | | | Jan
* Please find attached a patch for the pg_dump directory which addresses:Jan Wieck2000-07-06
| | | | | | | | | | - The problems Jan reported - incompatibility with configure (now uses HAVE_LIBZ instead of HAVE_ZLIB) - a problem in auto-detecting archive file format on piped archives Philip Warner
* Bugfix. If toasted tuple containted NULLs, DataFill() was handedJan Wieck2000-07-06
| | | | | | a wrong pointer causing the bitmap overwriting the tuple header. Jan
* Functions on 'text' type updated to new fmgr style. 'text' isTom Lane2000-07-06
| | | | now TOAST-able.
* Update textin() and textout() to new fmgr style. This is just phaseTom Lane2000-07-05
| | | | | one of updating the whole text datatype, but there are so dang many calls of these two routines that it seems worth a separate commit.
* Make the regression tests safe for TOAST.Tom Lane2000-07-05
|
* Fix typo (extraneous semicolon) in fd.c patch to avoid excess seeks.Tom Lane2000-07-05
| | | | Now it skips useless SEEK_CUR 0 calls too, as intended.
* Enable pg_rewrite to be toasted (unlimited size of views and rules).Jan Wieck2000-07-05
| | | | Jan
* add check for libz compression library for pg_dumpMarc G. Fournier2000-07-05
|
* Changed TOAST relations to have relkind RELKIND_TOASTVALUE.Jan Wieck2000-07-05
| | | | | | | | | | | | | Special handling of TOAST relations during VACUUM. TOAST relations are vacuumed while the lock on the master table is still active. The ANALYZE flag doesn't propagate to their vacuuming because the toaster access routines allways use index access ignoring stats, so why compute them at all. Protection of TOAST relations against normal INSERT/UPDATE/DELETE while offering SELECT for debugging purposes. Jan
* attached to this mail is a patch from a colleague that makesBruce Momjian2000-07-05
| | | | | | | | | | | | | | PostgreSQL-7.0.2 run on Linux for the Intel-IA64 architecture. It also fixes a bug in the configure scripts that caused configure to fail on the fcntl(F_SETLK) test. This fix triggered a bug in the fcntl(F_SETLK) code of the Linux kernel when used on unix domain sockets resulting in postmaster to segfault immediately after startup. There is a fix available and included in the kernel that will be on SuSE Linux 7.0, but kernels <= 2.2.16 still have this bug. Reinhard Max
* Small fix for ALTER TABLE xxx* ADD COLUMN ...Jan Wieck2000-07-05
| | | | | | Inherited child tables must not be open during creation of TOAST table Jan
* Automatically create toast tables on ALTER TABLE ... ADD COLUMNJan Wieck2000-07-05
| | | | | | and SELECT ... INTO ... too. Jan
* Bugfix in ALTER TABLE CREATE TOAST TABLEJan Wieck2000-07-05
| | | | | | | Automatically create toast table at CREATE TABLE if new table has toastable attributes. Jan
* Fixed lztextlen() bug in MULTIBYTE, still thinking that lztextJan Wieck2000-07-05
| | | | | | does compression itself the old way. Jan
* New resultmap for Alpha, from Ryan KirkpatrickBruce Momjian2000-07-05
|
* Fix broken pg_dump makefilePeter Eisentraut2000-07-04
|
* Moving toaster out of NO ELOG area in heap_update().Jan Wieck2000-07-04
| | | | Jan
* make TEMP -> TEMPORARYBruce Momjian2000-07-04
|
* Make pgdump_oid a temp table. Rename to pg_dump_oid.Bruce Momjian2000-07-04
|
* Expand secondary password file feature, so that you can use thesePeter Eisentraut2000-07-04
| | | | | | files to restrict the set of users that can connect to a database but can still use the pg_shadow password. (You just leave off the password field in the secondary file.)
* Fix thinko in my last pg_dumpall changePeter Eisentraut2000-07-04
|
* pg_dump patch from Philip WarnerBruce Momjian2000-07-04
|
* Make toast-table creation and deletion work somewhat reliably.Tom Lane2000-07-04
| | | | | | | Don't go through pg_exec_query_dest(), but directly to the execution routines. Also, extend parameter lists so that there's no need to change the global setting of allowSystemTableMods, a hack that was certain to cause trouble in the event of any error.
* DataFill() has no business resetting xact status bitsTom Lane2000-07-04
| | | | in the infomask of the provided tuple.
* miscVadim B. Mikheev2000-07-04
|
* unlock buffer before releasing in heap_insertVadim B. Mikheev2000-07-04
| | | | +unlock buffer in heap_fetch under !ItemIdIsUsed().
* tuptoaster.h should surely not #include postgres.h.Tom Lane2000-07-04
|
* Add missing #include for TOAST.Tom Lane2000-07-03
|
* TOAST changes to catalogJan Wieck2000-07-03
| | | | Jan
* TOASTJan Wieck2000-07-03
| | | | | | | | WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan
* Move global internal files to PGDATA/global.Peter Eisentraut2000-07-03
|
* Move PGPORT envar handling to ResetAllOptions(). Improve long optionsPeter Eisentraut2000-07-03
| | | | | parsing to not clobber the optarg string -- so that we can bring SetOptsFile() up to speed.
* Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of rawPeter Eisentraut2000-07-03
| | | | | | | | | | | COPYs of pg_shadow and pg_group. It also turns out that pg_dumpall was all but broken for multiple servers running at non-standard port numbers. You might get the users and groups from one server and the databases from another. Fixed that. A little user interface and code cleanup along with that. This also takes care of the portability bug discussed in "[BUGS] pg_dumpall" in March 2000.
* In the attache is new (correct) version. I add TZ (timezone) supportBruce Momjian2000-07-03
| | | | | | | for to_char() too. Karel
* Add a check of HEAP_MARKED_FOR_UPDATE in HeapTupleSatisfiesDirty().Hiroshi Inoue2000-07-03
| | | | This enables unique constraint check in case of SELECT FOR UPDATEd.
* Clean up memory-context stuff, other minor infelicities.Tom Lane2000-07-03
|
* Remove unused variable. (Hey Peter, you use gcc, why didn't youTom Lane2000-07-03
| | | | notice this warning?)
* heap' loggingVadim B. Mikheev2000-07-03
|
* Attached is a new patch which addresses this problem. (oids inBruce Momjian2000-07-02
| | | | | | regression tests). Chris Bitmead
* Version number now set in configure, available through Makefile.globalPeter Eisentraut2000-07-02
| | | | | | | | | | and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)