- 05 Mar, 2002 1 commit
-
-
Bruce Momjian authored
Greg Sabino Mullane
-
- 12 Nov, 2001 1 commit
-
-
Tom Lane authored
operators. Should report the declared oprresult type, not the return type of the underlying proc, which might be only binary-compatible (cf. textcat entries).
-
- 25 Oct, 2001 1 commit
-
-
Bruce Momjian authored
tests pass.
-
- 06 Oct, 2001 1 commit
-
-
Bruce Momjian authored
\d table display in psql, I noticed that tableinfo.triggers is not used once it is set. Greg Sabino Mullane
-
- 21 Aug, 2001 1 commit
-
-
Tom Lane authored
pgsql-hackers. pg_opclass now has a row for each opclass supported by each index AM, not a row for each opclass name. This allows pg_opclass to show directly whether an AM supports an opclass, and furthermore makes it possible to store additional information about an opclass that might be AM-dependent. pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we previously expected the user to remember to provide in CREATE INDEX commands. Lossiness is no longer an index-level property, but is associated with the use of a particular operator in a particular index opclass. Along the way, IndexSupportInitialize now uses the syscaches to retrieve pg_amop and pg_amproc entries. I find this reduces backend launch time by about ten percent, at the cost of a couple more special cases in catcache.c's IndexScanOK. Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane. initdb forced.
-
- 10 Aug, 2001 1 commit
-
-
Tom Lane authored
default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one. Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey has some usefulness; pg_dump dumps comments on indexes, rules, and triggers in a valid order. initdb forced.
-
- 09 Aug, 2001 1 commit
-
-
Tom Lane authored
-
- 05 Aug, 2001 1 commit
-
-
Tom Lane authored
-
- 08 Jul, 2001 1 commit
-
-
Peter Eisentraut authored
-
- 30 Jun, 2001 1 commit
-
-
Peter Eisentraut authored
have localized strings.) Also, modernize the system catalog queries where appropriate, e.g., with outer joins.
-
- 28 May, 2001 1 commit
-
-
Bruce Momjian authored
non-unique: stay as they were unique and primary: become listed as primary keys unique and non-primary: become listed as unique keys I also made it so that it shows the names of check constraints ie: Check: "$1" (a > 5) Christopher Kings
-
- 27 May, 2001 1 commit
-
-
Peter Eisentraut authored
-
- 09 May, 2001 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm still looking at the best way to integrate Tom Vijlbrief's fixes (insofar as they're still needed); would 7.2 be a suitable time for incompatible API changes? Jeroen Changes: (*) Introduced bool, true, false (replacing some int, 1, 0) (*) Made some member functions const (*) Documented GetIsNull() (*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible portability problem (assumed that NULL pointer equals all-zero bit pattern) (*) PrintTuples(): renamed width parameter to fillAlign to conform with other usage; fixed memory leak and compile issue w.r.t. field separator (should also slightly improve performance) (*) Fixed some minor compilation issues (*) Moved "using namespace std;" out of headers, where they didn't belong; used new (temporary) preprocessor macro PGSTD to do this (*) Made ToString() static, removed unneeded memset(), made buffer size adapt to sizeof(int) (*) Made some constructors explicit (*) Changed some const std::string & parameters to plain std::string (*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name as getter--bad style) (*) Renamed some paramaters previously named "string" (*) Introduced size_type typedef for number of tuples in result set (*) PgTransaction now supports re-opening after closing, and aborts if not explicitly committed prior to destruction J. T. Vermeulen
-
- 22 Mar, 2001 1 commit
-
-
Bruce Momjian authored
-
- 10 Feb, 2001 1 commit
-
-
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.
-
- 25 Oct, 2000 1 commit
-
-
Tom Lane authored
-
- 24 Oct, 2000 1 commit
-
-
Tom Lane authored
kibitzing from Tom Lane. Large objects are now all stored in a single system relation "pg_largeobject" --- no more xinv or xinx files, no more relkind 'l'. This should offer substantial performance improvement for large numbers of LOs, since there won't be directory bloat anymore. It'll also fix problems like running out of locktable space when you access thousands of LOs in one transaction. Also clean up cruft in read/write routines. LOs with "holes" in them (never-written byte ranges) now work just like Unix files with holes do: a hole reads as zeroes but doesn't occupy storage space. INITDB forced!
-
- 07 Sep, 2000 1 commit
-
-
Tatsuo Ishii authored
SQL buffer in listAllDbs is just too small.
-
- 09 Jul, 2000 1 commit
-
-
Peter Eisentraut authored
psql \df: use format_type and oidvectortypes map type REAL to float4, not float8 psql \dd :work around UNION bug
-
- 07 Jul, 2000 1 commit
-
-
Peter Eisentraut authored
- added bigint as synonym of int8 - set typelem of varlen non-array types to 0
-
- 16 Apr, 2000 2 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
\copy without arguments failed commands with too many arguments were too silent
-
- 12 Apr, 2000 1 commit
-
-
Bruce Momjian authored
-
- 26 Feb, 2000 1 commit
-
-
Tom Lane authored
fields, nor with bpchar and varchar fields that have typmod -1. The latter effectively have an unspecified length, so I made them display as char() and varchar() rather than falsely equating them to char(1) and varchar(1).
-
- 16 Feb, 2000 1 commit
-
-
Bruce Momjian authored
-
- 07 Feb, 2000 1 commit
-
-
Peter Eisentraut authored
Fixed libpq printing functions
-
- 29 Jan, 2000 1 commit
-
-
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
-
- 20 Jan, 2000 1 commit
-
-
Bruce Momjian authored
-
- 18 Jan, 2000 2 commits
-
-
Peter Eisentraut authored
-
Tatsuo Ishii authored
-
- 14 Jan, 2000 1 commit
-
-
Peter Eisentraut authored
-
- 12 Jan, 2000 1 commit
-
-
Peter Eisentraut authored
-
- 10 Jan, 2000 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 31 Dec, 1999 1 commit
-
-
Bruce Momjian authored
-
- 17 Dec, 1999 1 commit
-
-
Bruce Momjian authored
-
- 26 Nov, 1999 1 commit
-
-
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
-
- 13 Nov, 1999 1 commit
-
-
Bruce Momjian authored
descriptions enabled.
-