Commit Graph

  • 80dc7e207a Clean up some minor gcc warnings. I'm not touching the major one, though, which is the truly ugly stores into libpq private storage. Can't you find a better way to do this? Tom Lane 1999-12-20 01:31:26 +00:00
  • 939229904a Clean up some minor gcc warnings. Tom Lane 1999-12-20 01:23:04 +00:00
  • c16afb4e24 Whoever touched this code last doesn't seem to understand what a header file is for :-( Tom Lane 1999-12-20 01:19:58 +00:00
  • 76898cd330 Avoid compiler warnings on systems that have snprintf and/or vsnprintf but do not bother to declare them in <stdio.h>. Seems to be a more common omission than you'd think... Tom Lane 1999-12-20 00:51:25 +00:00
  • 095d83e129 Cleanup --alldb option handling. Bruce Momjian 1999-12-18 08:46:44 +00:00
  • d2cf8b4776 Cleanup vacuumdb Bruce Momjian 1999-12-18 08:39:12 +00:00
  • 1c2257648a > > It would be nice for new users; I think it would make it easier > > for them to actually set out and do it. Many new users are > > of the not-so-knowledgable variety, and shell scripting isn't > > something they want to undertake. > > Can someone modify the vacuumdb shell script to do that? i tried it... it seems to work Bruce Momjian 1999-12-18 08:34:50 +00:00
  • fd96e1754c Finally initdb.sh works. Was problem with assuming EUID was defined. Bruce Momjian 1999-12-18 04:04:24 +00:00
  • 12118301fd initdb cleanup Bruce Momjian 1999-12-18 03:31:14 +00:00
  • f08e8ae7cb initdb cleanup Bruce Momjian 1999-12-18 03:21:21 +00:00
  • a08eb45c52 More initdb cleanup Bruce Momjian 1999-12-18 02:56:01 +00:00
  • 24edd34da5 Cleanup of initdb.sh script to be portable, at least marginally. Bruce Momjian 1999-12-18 02:48:53 +00:00
  • 65f694f802 Add cvs. Bruce Momjian 1999-12-18 00:34:48 +00:00
  • 93ca944077 autoconf Bruce Momjian 1999-12-17 18:19:30 +00:00
  • 9f013a552a Lowercase $host for QNX. Bruce Momjian 1999-12-17 18:18:26 +00:00
  • 1520f60f0e Remove unused files. Bruce Momjian 1999-12-17 18:07:17 +00:00
  • 5c99f9cd84 Fix MULTIBYTE handling in string by using strcat. Bruce Momjian 1999-12-17 18:05:32 +00:00
  • 219652d5f7 Okay, this is how it looks: Please apply the attached patch to the current sources, otherwise this whole things fails anyway (fails to create the views). Jan Wieck 1999-12-17 16:53:11 +00:00
  • 97710d9f5a Fix typo in tag. Thomas G. Lockhart 1999-12-17 14:52:51 +00:00
  • aac9f5bee8 Re-enable makeAttr() if ENABLE_OUTER_JOINS is defined. Somehow got bracketed with #ifdef NOT_USED instead. Thomas G. Lockhart 1999-12-17 14:47:35 +00:00
  • 4f73187bb7 ANother initdb cleanup Bruce Momjian 1999-12-17 03:46:33 +00:00
  • 21992ed10a Reverse out nextval patch. Bruce Momjian 1999-12-17 01:25:25 +00:00
  • ac00256ceb initdb.sh fix from Peter. Bruce Momjian 1999-12-17 01:16:03 +00:00
  • 83bad7c063 This is my -- hopefully sufficiently portable -- attempt at cleaning out initdb. No more obscure dependencies on environment variables or paths. It now finds the templates and the right postgres itself (with cmd line options as fallback). It also no longer depends on $USER (su safe), and doesn't advertise that --username allows you to install the db as a different user, since that doesn't work anyway. Also, recovery and cleanup on all errors. Consistent options, clearer documentation. Bruce Momjian 1999-12-17 01:05:31 +00:00
  • 1b22a8cb03 Clear paren level flag on \r or any backslash command, rather than keeping parenlevel unchanged. Bruce Momjian 1999-12-16 23:54:41 +00:00
  • 397e9b32a3 Some changes to prepare for LONG attributes. Jan Wieck 1999-12-16 22:20:03 +00:00
  • 5ca971a18a Hi, Bruce Momjian 1999-12-16 20:10:02 +00:00
  • cf374febf5 >Turning nextval and currval into keywords is not an acceptable way to >go about this. That will risk breaking existing applications that use >those names as column names. > >It should actually almost work to write sq.nextval as things stand, >because Postgres has for a long time considered table.function and >function(table) to be interchangeable notations for certain kinds of >functions. nextval doesn't seem to be one of that kind of function, >at the moment. I'd suggest leaving the grammar as it was, and taking a >look at ParseFuncOrColumn in parse_func.c to see if you can't persuade >it to accept the sequence functions in that style. Bruce Momjian 1999-12-16 20:07:41 +00:00
  • 99b8f84511 Here's the Create/Alter/Drop Group stuff that's been really overdue. I didn't have time for documentation yet, but I'll write some. There are still some things to work out what happens when you alter or drop users, but the group stuff in and by itself is done. Bruce Momjian 1999-12-16 17:24:19 +00:00
  • 4cb1fb6f59 Update for QNX. Bruce Momjian 1999-12-16 16:52:53 +00:00
  • 8d49a6608a autoconf Bruce Momjian 1999-12-16 16:34:06 +00:00
  • 50a5b4ab41 *** empty log message *** Michael Meskes 1999-12-16 06:53:12 +00:00
  • 2fbaa45326 MAC addr compare fix. Bruce Momjian 1999-12-16 02:57:14 +00:00
  • d033e17530 Ethernet MAC addresses (macaddr type) are not compared correctly for equality. The lobits macro is wrong and extracts the wrong set of bits out of the structure. Bruce Momjian 1999-12-16 01:30:49 +00:00
  • 7585deb087 I have done the QNX4 port with the current source tree. The number of backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Bruce Momjian 1999-12-16 01:25:23 +00:00
  • 9805abb0fb This patch solves a couple of memory leaks in ecpglib.c. The patch is ok for both the development tree (CVS) and for 6.5.3. Bruce Momjian 1999-12-14 22:03:48 +00:00
  • 7431796b46 fix_parsetree_attnums was not nearly smart enough about walking parse trees. Also rewrite find_all_inheritors() in a more intelligible style. Tom Lane 1999-12-14 03:35:28 +00:00
  • 549a8ba59a > From what I gather, this should be a little cleaner because the triggered > function now returns the right datatype. Bruce Momjian 1999-12-14 00:17:33 +00:00
  • f5a613c0ed >From what I gather, this should be a little cleaner because the triggered function now returns the right datatype. Bruce Momjian 1999-12-14 00:12:06 +00:00
  • bcaabc5698 Depending on my interpreting (and programming) skills, this might solve anywhere from zero to two TODO items. Bruce Momjian 1999-12-14 00:08:21 +00:00
  • a82f9ffde6 New LDOUT makefile variable for QNX os. Bruce Momjian 1999-12-13 22:35:27 +00:00
  • ff6fe1502d Update documentation to reflect availability of aggregate(DISTINCT). Try to provide a more lucid discussion in 'Using Aggregate Functions' tutorial section. Tom Lane 1999-12-13 17:39:38 +00:00
  • 662371cc5d Prevent _deadcode from showing in ctags and mkid Bruce Momjian 1999-12-13 04:54:01 +00:00
  • a8ae19ec3d aggregate(DISTINCT ...) works, per SQL spec. Note this forces initdb because of change of Aggref node in stored rules. Tom Lane 1999-12-13 01:27:21 +00:00
  • efb36d2be8 any_ordering_op()'s argument should be declared Oid not int. Tom Lane 1999-12-12 20:51:29 +00:00
  • cb00b7faa5 I'm in TODO mood today ... Bruce Momjian 1999-12-12 05:57:36 +00:00
  • 11023eb1f5 Meanwhile, database names with single quotes in names don't work very well at all, and because of shell quoting rules this can't be fixed, so I put in error messages to that end. Bruce Momjian 1999-12-12 05:15:10 +00:00
  • 1ff0a475ee Fix for psql from Peter. Bruce Momjian 1999-12-11 21:35:49 +00:00
  • 298845a6f0 Allow ; in () in psql. Bruce Momjian 1999-12-11 01:03:36 +00:00
  • e6ac08c398 Update TODO list. Bruce Momjian 1999-12-11 00:31:37 +00:00
  • e639a1a6a8 This takes care of TODO item * pg_dump should preserve primary key information Bruce Momjian 1999-12-11 00:31:05 +00:00
  • 3c75d64f40 Remove old file. Bruce Momjian 1999-12-10 17:46:41 +00:00
  • c91e5a4465 Update drop.sql Bruce Momjian 1999-12-10 17:32:57 +00:00
  • c613e69f40 Rename destroy.sql to drop.sql. Bruce Momjian 1999-12-10 17:31:30 +00:00
  • 62c42a05a2 Added global variable to have RI triggers override time qualification of HeapTupleSatisfiesSnapshot() Jan Wieck 1999-12-10 12:34:15 +00:00
  • d31ff14ed8 Fix memory overrun while setting ps status Tatsuo Ishii 1999-12-10 10:29:01 +00:00
  • 18c3000286 Teach grammar and parser about aggregate(DISTINCT ...). No implementation yet, but at least we can give a better error message: regression=> select count(distinct f1) from int4_tbl; ERROR: aggregate(DISTINCT ...) is not implemented yet instead of 'parser: parse error at or near distinct'. Tom Lane 1999-12-10 07:37:35 +00:00
  • ecba5d308c Remove unneeded action. Bruce Momjian 1999-12-10 05:17:13 +00:00
  • cae01cd836 Fix LDREL. Bruce Momjian 1999-12-10 05:00:36 +00:00
  • 77a4729936 This should fix the \e (\p, \g, ...) behaviour on an empty query buffer. Also, minor tweakage of tab completion, and I hope the output is flushed on time now. Bruce Momjian 1999-12-10 03:59:30 +00:00
  • 97dec77fab Rename several destroy* functions/tags to drop*. Bruce Momjian 1999-12-10 03:56:14 +00:00
  • f6baabcd0b Correct coredump in ALTER TABLE foo ADD(). Accept explicit NULL in typecasts, eg 'NULL::text'. Later parts of the parser don't like this yet, but I'll work on that next. Tom Lane 1999-12-10 03:01:05 +00:00
  • f4db5c3c88 Update regression for new dropdb command. Bruce Momjian 1999-12-10 00:48:32 +00:00
  • a27542c3a8 Added a fflush(stdout) to the \p command required for the multisession test tool. Jan Wieck 1999-12-10 00:26:35 +00:00
  • 3ffd3d82db Make LD -r as macros that can be changed for QNX. Bruce Momjian 1999-12-09 19:15:45 +00:00
  • cb0032cdcf Update for QNX from Kardos, Dr. Andrea Bruce Momjian 1999-12-09 15:56:16 +00:00
  • f7f41c7c8c Replace generic 'Illegal use of aggregates' error message with one that shows the specific ungrouped variable being complained of. Perhaps this will reduce user confusion... Tom Lane 1999-12-09 05:58:56 +00:00
  • d65a27f950 Hi, Bruce Momjian 1999-12-09 05:02:24 +00:00
  • 469cf43fac Remove extra vacuum, from Peter. Bruce Momjian 1999-12-09 04:36:57 +00:00
  • 0882951b0c Fixed concurrent visibility bug. Jan Jan Wieck 1999-12-08 20:41:22 +00:00
  • b7539d92f9 Fix indexing of cidr. Bruce Momjian 1999-12-08 11:37:38 +00:00
  • 2192a92f3c Cleanup Bruce Momjian 1999-12-08 11:17:20 +00:00
  • 0dec669a0f Change $< to $+ in scripts Makefile, and clean up pg_encoding if logic. Bruce Momjian 1999-12-08 10:29:55 +00:00
  • 7cf0f634d5 *** empty log message *** Michael Meskes 1999-12-08 09:52:29 +00:00
  • a010be7543 Peter's file removals. Bruce Momjian 1999-12-07 22:43:03 +00:00
  • a0aab48fcd Okay, that should put us back in sync. These two patches (src & doc) are against the sources from one hour ago and contain all the portable and up to date stuff. Bruce Momjian 1999-12-07 22:41:44 +00:00
  • 54847b25d4 *** empty log message *** Michael Meskes 1999-12-07 10:29:18 +00:00
  • 04fa5ca544 Clean up memory leakage in find_inheritors() by using pg_list lists (which are palloc'd) instead of DLLists (which are malloc'd). Not very significant, since this routine seldom has anything useful to do, but a leak is a leak... Tom Lane 1999-12-07 04:09:39 +00:00
  • 5ad4034a4c Again updated INSIDE TODO Jan Wieck 1999-12-07 00:13:41 +00:00
  • 70dd9e81af Added SET DEFAULT action for ON DELETE/UPDATE Jan Wieck 1999-12-07 00:11:35 +00:00
  • 3327730bbd Corrected TODO in source Jan Wieck 1999-12-06 19:52:36 +00:00
  • 2eb53e684c Added ON DELETE/UPDATE SET NULL Jan Wieck 1999-12-06 19:50:49 +00:00
  • b8ef7e7f82 Completed FOREIGN KEY syntax. Jan Wieck 1999-12-06 18:02:47 +00:00
  • 1d8ce77233 Update entries with recent results for Alpha and ARM processors. Remove references to Ultrix; haven't heard from it for a *long* time :( Thomas G. Lockhart 1999-12-06 16:40:45 +00:00
  • b7f6168516 Fix markup (a couple of missing tags) and renormalize. Thomas G. Lockhart 1999-12-06 16:38:25 +00:00
  • b6332952b7 Remove references to PostgreSQL as "public-domain" since that has a specific meaning wrt copyright (or lack thereof). Thomas G. Lockhart 1999-12-06 16:37:11 +00:00
  • 61f688cacf Fix typo in the startup example for RH Linux. Thanks to Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>. Thomas G. Lockhart 1999-12-06 16:23:25 +00:00
  • 8ad4f99b73 Fix the case of -o given Tatsuo Ishii 1999-12-06 08:49:00 +00:00
  • 8231a7ab20 Fix minor bugs Tatsuo Ishii 1999-12-06 08:35:34 +00:00
  • 5b912b089c pg_ctl: a script to start/stop/restart and report status of postmaster. Tatsuo Ishii 1999-12-06 07:23:41 +00:00
  • 169051afc9 Fix bugs regarding pid file. Tatsuo Ishii 1999-12-06 07:21:12 +00:00
  • 1891f0e913 Update rules test for extra quoting in rule deparser. Tom Lane 1999-12-06 02:38:56 +00:00
  • 53311358c2 Rule deparser needs to quote identifiers that are spelled the same as SQL keywords. Tom Lane 1999-12-06 02:37:17 +00:00
  • 7657bce7a0 Clean up doc/Makefile to install manual pages. Bruce Momjian 1999-12-05 21:23:00 +00:00
  • 81c0383295 Fix echo -n and read -r in scripts. Bruce Momjian 1999-12-05 20:52:54 +00:00
  • 60ae5ed037 Remove destroylang.sgml. Bruce Momjian 1999-12-05 20:29:18 +00:00
  • d7857e5713 Update. Bruce Momjian 1999-12-05 20:22:00 +00:00
  • 66f8da0756 Update Bruce Momjian 1999-12-05 20:04:42 +00:00
  • ed62104ea9 I cleaned those out as well (the echo -n "bug" was in there ;) and moved them into the scripts dir. I also added a --list option to show already installed languages. Bruce Momjian 1999-12-05 20:02:49 +00:00
  • 9eb69977fe This *should* fix the large object segfault problem. Note linewrap may be interfering with last line of patch. Bruce Momjian 1999-12-05 19:29:37 +00:00