- Mar 05, 2002
-
-
Bruce Momjian authored
Greg Sabino Mullane
-
- Dec 08, 2001
-
-
Thomas G. Lockhart authored
between Postgres and PostgreSQL.
-
- Sep 13, 2001
-
-
Peter Eisentraut authored
-
- Sep 11, 2001
-
-
Tatsuo Ishii authored
-
- Sep 03, 2001
-
-
Peter Eisentraut authored
-
- Jul 15, 2001
-
-
Peter Eisentraut authored
accordingly.
-
- Jun 10, 2001
-
-
Bruce Momjian authored
-
- May 28, 2001
-
-
Bruce Momjian authored
Indicies: palm_buy_date_idx palm_user_date_idx Primary Key: palm_buyers_pkey Unique Key: palm_buyers_username Constraint: "$1" ((sex = 'M'::bpchar) OR (sex = 'F'::bpchar)) Note that check constraint name now shown as well. (Makes it a lot easier to test inheritance support in ADD/DROP constraint :) ) Attached is a docs change for psql. Christopher Kings
-
- May 27, 2001
-
-
Peter Eisentraut authored
privileges. INSERT and COPY FROM now require INSERT (only). Add privileges regression test.
-
- May 17, 2001
-
-
Peter Eisentraut authored
-
- May 12, 2001
-
-
Peter Eisentraut authored
-
- May 09, 2001
-
-
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
-
- May 07, 2001
-
-
Peter Eisentraut authored
-
- May 06, 2001
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
- Mar 25, 2001
-
-
Peter Eisentraut authored
-
- Feb 03, 2001
-
-
Peter Eisentraut authored
-
- Dec 26, 2000
-
-
Peter Eisentraut authored
-
- Nov 22, 2000
-
-
Bruce Momjian authored
-
- Nov 14, 2000
-
-
Bruce Momjian authored
-
Bruce Momjian authored
leading slash to behave as a unix socket path.
-
- Nov 13, 2000
-
-
Bruce Momjian authored
hosting product, on both shared and dedicated machines. We currently offer Oracle and MySQL, and it would be a nice middle-ground. However, as shipped, PostgreSQL lacks the following features we need that MySQL has: 1. The ability to listen only on a particular IP address. Each hosting customer has their own IP address, on which all of their servers (http, ftp, real media, etc.) run. 2. The ability to place the Unix-domain socket in a mode 700 directory. This allows us to automatically create an empty database, with an empty DBA password, for new or upgrading customers without having to interactively set a DBA password and communicate it to (or from) the customer. This in turn cuts down our install and upgrade times. 3. The ability to connect to the Unix-domain socket from within a change-rooted environment. We run CGI programs chrooted to the user's home directory, which is another reason why we need to be able to specify where the Unix-domain socket is, instead of /tmp. 4. The ability to, if run as root, open a pid file in /var/run as root, and then setuid to the desired user. (mysqld -u can almost do this; I had to patch it, too). The patch below fixes problem 1-3. I plan to address #4, also, but haven't done so yet. These diffs are big enough that they should give the PG development team something to think about in the meantime :-) Also, I'm about to leave for 2 weeks' vacation, so I thought I'd get out what I have, which works (for the problems it tackles), now. With these changes, we can set up and run PostgreSQL with scripts the same way we can with apache or proftpd or mysql. In summary, this patch makes the following enhancements: 1. Adds an environment variable PGUNIXSOCKET, analogous to MYSQL_UNIX_PORT, and command line options -k --unix-socket to the relevant programs. 2. Adds a -h option to postmaster to set the hostname or IP address to listen on instead of the default INADDR_ANY. 3. Extends some library interfaces to support the above. 4. Fixes a few memory leaks in PQconnectdb(). The default behavior is unchanged from stock 7.0.2; if you don't use any of these new features, they don't change the operation. David J. MacKenzie
-
- Oct 24, 2000
-
-
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!
-
- Oct 13, 2000
-
-
Bruce Momjian authored
-
- Oct 05, 2000
-
-
Bruce Momjian authored
Fix misspelling of disbursion to dispersion.
-
- Sep 27, 2000
-
-
Bruce Momjian authored
-
- Aug 29, 2000
-
-
Bruce Momjian authored
-
- Jul 22, 2000
-
-
Bruce Momjian authored
-
- Jul 21, 2000
-
-
Bruce Momjian authored
-
- May 12, 2000
-
-
Bruce Momjian authored
-
- May 09, 2000
-
-
Bruce Momjian authored
-
- Apr 16, 2000
-
-
Peter Eisentraut authored
\copy without arguments failed commands with too many arguments were too silent
-
- Mar 27, 2000
-
-
Thomas G. Lockhart authored
Use "generic functions" for math and other routines. Use SQL92 "type 'literal'" syntax rather than Postgres "'literal'::type".
-
- Mar 21, 2000
-
-
Bruce Momjian authored
page for 7.0: Oliver Elphick
-
- Mar 11, 2000
-
-
Peter Eisentraut authored
-
- Mar 01, 2000
-
-
Peter Eisentraut authored
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.
-
- Feb 20, 2000
-
-
Peter Eisentraut authored
-
- Feb 13, 2000
-
-
Peter Eisentraut authored
-
- Feb 10, 2000
-
-
Peter Eisentraut authored
Changed EXIT_ON_ERROR to ON_ERROR_STOP in psql
-
- Feb 08, 2000
-
-
Peter Eisentraut authored
Fixed libpq printing functions
-