- Sep 12, 2001
-
-
Tatsuo Ishii authored
-
Tatsuo Ishii authored
-
- Sep 11, 2001
-
-
Tatsuo Ishii authored
-
- Sep 08, 2001
-
-
Peter Eisentraut authored
Assign the fixed user id 1 to the user created by initdb. A stand-alone backend will always set the user id to 1. (Consequently, the name of that user is no longer important.) In stand-alone mode, the user id 1 will have implicit superuser status, to allow repairs even if there are no users defined. Print a warning message when starting in stand-alone mode when no users are defined. Disallow dropping the current user and session user. Granting/revoking superuser status also grants/revokes usecatupd. (Previously, it would never grant it back. This could lead to "deadlocks".) CREATE USER and CREATE GROUP will start allocating user ids at 100 (unless explicitly specified), to prevent accidental creation of a superuser (plus some room for future extensions).
-
- Sep 07, 2001
-
-
Bruce Momjian authored
table creation time. Big deal you say - but this patch is the basis of the next thing which is adding PRIMARY KEYs after table creation time. (Which is currently impossible without twiddling catalogs) Rundown ------- * I have made the makeObjectName function of analyze.c non-static, and exported it in analyze.h * I have included analyze.h and defrem.h into command.c, to support makingObjectNames and creating indices * I removed the 'case CONSTR_PRIMARY' clause so that it properly fails and says you can't add primary keys, rather than just doing nothing and reporting nothing!!! * I have modified the docs. Algorithm --------- * If name specified is null, search for a new valid constraint name. I'm not sure if I should "lock" my generated name somehow tho - should I open the relation before doing this step? * Open relation in access exclusive mode * Check that the constraint does not already exist * Define the new index * Warn if they're doubling up on an existing index Christopher Kings-Lynne
-
Tom Lane authored
occur unconditionally, even if the rule should otherwise execute conditionally. This is more useful than giving an error, even though it's not truly the correct behavior. Per today's pghackers discussion.
-
- Sep 06, 2001
-
-
Peter Eisentraut authored
man page to the Programmer's Guide.
-
- Sep 04, 2001
-
-
Peter Eisentraut authored
-
- Sep 03, 2001
-
-
Peter Eisentraut authored
-
- Aug 29, 2001
-
-
Peter Eisentraut authored
-
- Aug 28, 2001
-
-
Peter Eisentraut authored
Client headers are no longer in a subdirectory, since they have been made namespace-clean. Internal libpq headers are in a private subdirectory. Server headers are in a private subdirectory. pg_config has a new option to point there.
-
- Aug 26, 2001
-
-
Tom Lane authored
documentation to come, but the code is all here. initdb forced.
-
Bruce Momjian authored
-
- Aug 25, 2001
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
documented wrong.
-
- Aug 22, 2001
-
-
Peter Eisentraut authored
\connect, to avoid possible password prompts and such, at the drawback of having to have superuser access.
-
- Aug 21, 2001
-
-
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.
-
- Aug 16, 2001
-
-
Tom Lane authored
has an alias SERIAL4 and a sister SERIAL8. SERIAL8 is just the same except the created column is type int8 not int4. initdb forced. Note this also breaks any chance of pg_upgrade from 7.1, unless we hack up pg_upgrade to drop and recreate sequences. (Which is not out of the question, but I don't wanna do it.)
-
- Aug 15, 2001
-
-
Bruce Momjian authored
Allow pg_shadow to be MD5 encrypted. Add ENCRYPTED/UNENCRYPTED option to CREATE/ALTER user. Add password_encryption postgresql.conf option. Update wire protocol version to 2.1.
-
- Aug 13, 2001
-
-
Peter Eisentraut authored
syntax for language names (instead of 'string'). createlang now handles the case where a second language uses the same call handler as an already installed language (e.g., plperl/plperlu). droplang now handles the reverse case, i.e., dropping a language where the call handler is still used by another language. Moreover, droplang can now be used to drop any user-defined language, not just the supplied ones.
-
Bruce Momjian authored
-
- Aug 12, 2001
-
-
Peter Eisentraut authored
Don't hardcode the maximum accepted server version, use PG_VERSION instead. Install a notice processor so notices are handled like error messages. Word smithing.
-
- Aug 11, 2001
- Aug 10, 2001
-
-
Tom Lane authored
-
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.
-
Bruce Momjian authored
Neil Padgett
-
- Aug 06, 2001
-
-
Tom Lane authored
clauses are equal(), before trying to match them up using btree opclass inference rules. This allows it to recognize many simple cases involving non-btree operations, for example 'x IS NULL'. Clean up code a little.
-
- Aug 05, 2001
-
-
Bruce Momjian authored
-
- Aug 04, 2001
-
-
Bruce Momjian authored
Neil Padgett
-
- Aug 03, 2001
-
-
Tom Lane authored
of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments.
-
- Jul 16, 2001
-
-
Tom Lane authored
Note: I didn't force an initdb, figuring that one today was enough. However, there is a new function in pg_proc.h, and pg_dump won't be able to dump partial indexes until you add that function.
-
- Jul 15, 2001
-
-
Peter Eisentraut authored
accordingly.
-
- Jul 12, 2001
-
-
Tom Lane authored
From Vince Vielhaber.
-
- Jul 11, 2001
-
-
Bruce Momjian authored
-
Tom Lane authored
USER and ALTER USER to appear in any order, not only the fixed order they used to be required to appear in. Also, some changes from Tom Lane to create a FULL option for VACUUM; it doesn't do anything yet, but I needed to change many of the same files to make that happen, so now seemed like a good time.
-
- Jul 10, 2001
- Jul 01, 2001
-
-
Peter Eisentraut authored
characteristics) to be set through GUC.
-
Peter Eisentraut authored
-