]>
granicus.if.org Git - postgresql/log
Philip Warner [Tue, 13 Feb 2001 01:57:12 +0000 (01:57 +0000)]
Added some comments to setval, setval_is_called and do_setval
Philip Warner [Tue, 13 Feb 2001 01:31:54 +0000 (01:31 +0000)]
- Fix help output: replace 'f' with 't' and change desc
- Add extra arg to formatStringLiteral to specify how to handle LF & TAB.
I opted for encoding them except in procedure bodies & comments
- Fixed bug in tar file input when restoring blobs
Tom Lane [Tue, 13 Feb 2001 00:02:36 +0000 (00:02 +0000)]
Clean up portability problems in regexp package: change all routine
definitions from K&R to ANSI C style, and fix broken assumption that
int and long are the same datatype. This repairs problems observed
on Alpha with regexps having between 32 and 63 states.
Bruce Momjian [Mon, 12 Feb 2001 22:50:06 +0000 (22:50 +0000)]
Attached is a makefile for the ODBC driver for use under win32. It has been
tested only with MS VC++ 6.0SP4 using nmake.
Dave Page
Tom Lane [Mon, 12 Feb 2001 22:17:29 +0000 (22:17 +0000)]
Hmm, this isn't used either.
Tom Lane [Mon, 12 Feb 2001 22:13:06 +0000 (22:13 +0000)]
Remove unused and largely-broken-anyway compatibility defs.
Bruce Momjian [Mon, 12 Feb 2001 21:49:24 +0000 (21:49 +0000)]
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, add #include <stdio.h> to the file. That should fix it.
Seems unlikely, since libpq-fe.h already includes <stdio.h>.
The real problem here is that the code is wrong: it's passing NULL
to an int parameter.
regards, tom lane
Bruce Momjian [Mon, 12 Feb 2001 21:45:24 +0000 (21:45 +0000)]
New MS resource file, pgindented.
Tom Lane [Mon, 12 Feb 2001 21:03:03 +0000 (21:03 +0000)]
Suppress compiler warning on Alpha.
Tom Lane [Mon, 12 Feb 2001 20:07:21 +0000 (20:07 +0000)]
Rearrange order of operations in heap_create_with_catalog so that if
two transactions create the same table name concurrently, the one that
fails will complain about unique index pg_class_relname_index, rather than
about pg_type_typname_index which'll confuse most people. Free side
benefit: pg_class.reltype is correctly linked to the pg_type entry now.
It's been zero in all but the preloaded pg_class entries since who knows
when.
Bruce Momjian [Mon, 12 Feb 2001 18:46:40 +0000 (18:46 +0000)]
Cleanup
Bruce Momjian [Mon, 12 Feb 2001 18:37:35 +0000 (18:37 +0000)]
Add stdio to file.
Bruce Momjian [Mon, 12 Feb 2001 18:30:53 +0000 (18:30 +0000)]
Add // -> /* */ mapping to pgindent.
Bruce Momjian [Mon, 12 Feb 2001 17:54:02 +0000 (17:54 +0000)]
Update ODBC resource MS-generated file.
Bruce Momjian [Mon, 12 Feb 2001 14:21:27 +0000 (14:21 +0000)]
User Manual
Chapter 4
String Operators
Table 4.7: Other String Functions
strpos is missing the result in the result column, it should be 2
Also to_ascii might need a result but maybe not.
Appendix A
In the Time Zone Table
Greenwich is spelled Greenwish
David Aldrich
Bruce Momjian [Mon, 12 Feb 2001 14:17:06 +0000 (14:17 +0000)]
Change more // comments.
Bruce Momjian [Mon, 12 Feb 2001 13:56:37 +0000 (13:56 +0000)]
Remove // and make /* */
Bruce Momjian [Mon, 12 Feb 2001 13:55:36 +0000 (13:55 +0000)]
Add #include <unistd.h>
Bruce Momjian [Mon, 12 Feb 2001 13:09:33 +0000 (13:09 +0000)]
New release format, Peter E style.
Bruce Momjian [Mon, 12 Feb 2001 12:59:22 +0000 (12:59 +0000)]
Replace // comments from file for MS products.
Bruce Momjian [Mon, 12 Feb 2001 12:52:02 +0000 (12:52 +0000)]
poit -> point.
Tom Lane [Sun, 11 Feb 2001 23:46:40 +0000 (23:46 +0000)]
SOCK_get_next_byte should not return garbage after error/EOF. Return
zero bytes instead.
Bruce Momjian [Sun, 11 Feb 2001 23:34:08 +0000 (23:34 +0000)]
Remove unneeded shutdown() call, per Tom Lane.
Tom Lane [Sun, 11 Feb 2001 23:12:28 +0000 (23:12 +0000)]
Improve error message when startup or shutdown proc fails.
Bruce Momjian [Sun, 11 Feb 2001 14:20:30 +0000 (14:20 +0000)]
Move release date into release heading.
Bruce Momjian [Sun, 11 Feb 2001 13:58:12 +0000 (13:58 +0000)]
More cleanups.
Bruce Momjian [Sun, 11 Feb 2001 13:53:42 +0000 (13:53 +0000)]
Include file alignment fixes.
Bruce Momjian [Sun, 11 Feb 2001 13:15:28 +0000 (13:15 +0000)]
Move X packet before shutdown().
Bruce Momjian [Sun, 11 Feb 2001 05:58:41 +0000 (05:58 +0000)]
Source alignment cleanups.
Bruce Momjian [Sun, 11 Feb 2001 05:15:25 +0000 (05:15 +0000)]
More updates.
Bruce Momjian [Sun, 11 Feb 2001 05:13:52 +0000 (05:13 +0000)]
More cleanup.
Bruce Momjian [Sun, 11 Feb 2001 05:04:47 +0000 (05:04 +0000)]
More cleanup.
Bruce Momjian [Sun, 11 Feb 2001 04:56:58 +0000 (04:56 +0000)]
Cleanup of source.
Bruce Momjian [Sun, 11 Feb 2001 02:18:48 +0000 (02:18 +0000)]
Add to Makefile.
Bruce Momjian [Sun, 11 Feb 2001 02:18:27 +0000 (02:18 +0000)]
Add pg_logger to /contrib.
Bruce Momjian [Sun, 11 Feb 2001 02:01:22 +0000 (02:01 +0000)]
The attached patch does the following:
1) Tidies up the Datasource Dialogue now the version options are gone.
2) Tidies a comment in info.c.
3) Increments all version numbers to 07.01.0003 to take account of recent
revisions.
Regards, Dave Page
Tatsuo Ishii [Sun, 11 Feb 2001 01:59:22 +0000 (01:59 +0000)]
Move pg_encoding_mblen() from common.c to wchar.c.
Tatsuo Ishii [Sun, 11 Feb 2001 01:56:58 +0000 (01:56 +0000)]
conv.c did not compile anymore. Fix wrong header file inclusion.
Tatsuo Ishii [Sun, 11 Feb 2001 01:52:11 +0000 (01:52 +0000)]
Clean up mutibyte supoorting source files.
Now only wchar.c is shared by fronetnd/backend.
Bruce Momjian [Sun, 11 Feb 2001 01:48:51 +0000 (01:48 +0000)]
Clean up HISTORY file, add dates to releases.
Peter Eisentraut [Sun, 11 Feb 2001 01:41:00 +0000 (01:41 +0000)]
Repair markup.
Bruce Momjian [Sat, 10 Feb 2001 23:35:04 +0000 (23:35 +0000)]
Disable X connection close in ODBC until solution is found.
Bruce Momjian [Sat, 10 Feb 2001 22:53:40 +0000 (22:53 +0000)]
Format to match standard conventions
Bruce Momjian [Sat, 10 Feb 2001 22:42:01 +0000 (22:42 +0000)]
Convert to standard 4-space tabs.
Peter Eisentraut [Sat, 10 Feb 2001 22:31:42 +0000 (22:31 +0000)]
Only look for bison as YACC; other yaccs need to be selected explicitly.
When no suitable YACC is configured, supply useful informational messages
to users. (Same way flex has been handled for a while.)
Bruce Momjian [Sat, 10 Feb 2001 18:46:34 +0000 (18:46 +0000)]
move comment
Peter Eisentraut [Sat, 10 Feb 2001 18:24:14 +0000 (18:24 +0000)]
Document that NetBSD's libedit can be used instead of readline.
Peter Eisentraut [Sat, 10 Feb 2001 18:02:35 +0000 (18:02 +0000)]
Add note about the availability of contrib/mac for the macaddr data type.
Bruce Momjian [Sat, 10 Feb 2001 17:36:57 +0000 (17:36 +0000)]
Add comment about linker/compiler on bsd.
Bruce Momjian [Sat, 10 Feb 2001 17:17:39 +0000 (17:17 +0000)]
Fix -Bsymbolic for FreeBSD and OpenBSD. NetBSD already had all these fixes.
Peter Eisentraut [Sat, 10 Feb 2001 16:51:40 +0000 (16:51 +0000)]
Repair BSD/OS shared library fixes.
Bruce Momjian [Sat, 10 Feb 2001 16:41:30 +0000 (16:41 +0000)]
Back out addition. Seems grammar doesn't handle CONSTRAINT as optional.
Bruce Momjian [Sat, 10 Feb 2001 16:39:07 +0000 (16:39 +0000)]
Add mention of CONSTRAINT in ADD CONSTRAINT section.
Bruce Momjian [Sat, 10 Feb 2001 16:26:38 +0000 (16:26 +0000)]
Revert shlib changes.
Bruce Momjian [Sat, 10 Feb 2001 16:25:10 +0000 (16:25 +0000)]
Remove protcol option buttons.
Bruce Momjian [Sat, 10 Feb 2001 15:59:16 +0000 (15:59 +0000)]
ODBC BSD/OS fix.
Bruce Momjian [Sat, 10 Feb 2001 12:07:12 +0000 (12:07 +0000)]
cleanup
Bruce Momjian [Sat, 10 Feb 2001 11:59:36 +0000 (11:59 +0000)]
Add URL for my2pg.pl.
Bruce Momjian [Sat, 10 Feb 2001 11:53:14 +0000 (11:53 +0000)]
Add description.
Bruce Momjian [Sat, 10 Feb 2001 11:46:00 +0000 (11:46 +0000)]
Add both conversion utilities.
Bruce Momjian [Sat, 10 Feb 2001 11:43:33 +0000 (11:43 +0000)]
cleanup
Bruce Momjian [Sat, 10 Feb 2001 11:43:12 +0000 (11:43 +0000)]
Add other mysql conversion utility for comparisons.
Bruce Momjian [Sat, 10 Feb 2001 11:31:35 +0000 (11:31 +0000)]
Allow -Bsymbolic on BSDI for ODBC.
Peter Eisentraut [Sat, 10 Feb 2001 10:27:28 +0000 (10:27 +0000)]
Fix on Linux
Tom Lane [Sat, 10 Feb 2001 08:30:13 +0000 (08:30 +0000)]
Minor improvements and copy-editing.
Bruce Momjian [Sat, 10 Feb 2001 07:11:28 +0000 (07:11 +0000)]
More ODBC formatting cleanup.
Tom Lane [Sat, 10 Feb 2001 07:08:44 +0000 (07:08 +0000)]
Fix example of syntactic ambiguity between prefix/infix/postfix operators
--- Postgres now accepts the example we claimed it wouldn't. Miscellaneous
copy-editing as well.
Bruce Momjian [Sat, 10 Feb 2001 07:01:19 +0000 (07:01 +0000)]
Run pgindent over ODBC source. We couldn't do this years ago because we
weren't the master source. We are now, and it really needs it.
Bruce Momjian [Sat, 10 Feb 2001 06:58:40 +0000 (06:58 +0000)]
Remove protocol-dependent code. This should have been on previous commit.
Bruce Momjian [Sat, 10 Feb 2001 06:57:53 +0000 (06:57 +0000)]
Cleanup
Bruce Momjian [Sat, 10 Feb 2001 06:12:15 +0000 (06:12 +0000)]
More cleanup, again not sure it works.
Bruce Momjian [Sat, 10 Feb 2001 05:55:17 +0000 (05:55 +0000)]
Clean up bad variable used in script. Still not sure it works under Linux.
Bruce Momjian [Sat, 10 Feb 2001 05:50:29 +0000 (05:50 +0000)]
Properly exit ODBC with 'X', allow linking on BSD/OS.
Tom Lane [Sat, 10 Feb 2001 05:32:33 +0000 (05:32 +0000)]
Fix documentation of EXECUTE, add documentation of FOR ... EXECUTE.
Tom Lane [Sat, 10 Feb 2001 04:07:25 +0000 (04:07 +0000)]
Fix byte-vs-word-width oversight in m68k TAS() code.
Man, this brings back some old memories ...
Tom Lane [Sat, 10 Feb 2001 03:57:42 +0000 (03:57 +0000)]
Update findoidjoins notes for 7.1.
Tom Lane [Sat, 10 Feb 2001 03:44:54 +0000 (03:44 +0000)]
Compile a little more cleanly.
Tom Lane [Sat, 10 Feb 2001 03:44:06 +0000 (03:44 +0000)]
Add oid2name subdirectory to contrib Makefile.
Tom Lane [Sat, 10 Feb 2001 03:12:16 +0000 (03:12 +0000)]
Ignore leading whitespace when trying to determine statement type,
so that ODBC driver doesn't go belly up by failing to recognize a
SELECT as such.
Tom Lane [Sat, 10 Feb 2001 02:31:31 +0000 (02:31 +0000)]
Restructure the key include files per recent pghackers discussion: there
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.
Peter Eisentraut [Sat, 10 Feb 2001 00:50:18 +0000 (00:50 +0000)]
Update section about how to start server from boot scripts.
Peter Eisentraut [Sat, 10 Feb 2001 00:13:23 +0000 (00:13 +0000)]
Add new FreeBSD start script that makes use of new pg_ctl functionality.
Bruce Momjian [Fri, 9 Feb 2001 22:23:47 +0000 (22:23 +0000)]
Remove last code that assumed xinv/xinx are large object files.
Peter Eisentraut [Fri, 9 Feb 2001 20:38:15 +0000 (20:38 +0000)]
Avoid a particular <simplelist>. jadetex has formatting problems,
apparently when the content is long enough to require line breaks.
Peter Eisentraut [Fri, 9 Feb 2001 20:24:08 +0000 (20:24 +0000)]
Make more portable.
Tom Lane [Fri, 9 Feb 2001 19:26:45 +0000 (19:26 +0000)]
This hasn't been used for anything for a long time...
Bruce Momjian [Fri, 9 Feb 2001 19:24:09 +0000 (19:24 +0000)]
Large object manual updates.
Tom Lane [Fri, 9 Feb 2001 18:42:35 +0000 (18:42 +0000)]
Remove link to dead subdirectory 'linux'.
Bruce Momjian [Fri, 9 Feb 2001 17:55:48 +0000 (17:55 +0000)]
Mention NetBSD
Bruce Momjian [Fri, 9 Feb 2001 17:53:44 +0000 (17:53 +0000)]
Remove pg_service mention.
Bruce Momjian [Fri, 9 Feb 2001 17:37:49 +0000 (17:37 +0000)]
Update TODO list.
Tom Lane [Fri, 9 Feb 2001 17:30:03 +0000 (17:30 +0000)]
When updating a tuple containing compressed-in-line fields, do not
decompress the existing fields unnecessarily.
Bruce Momjian [Fri, 9 Feb 2001 17:16:57 +0000 (17:16 +0000)]
Add -g as synonmym for --globals-only in pg_dumpall. Add info about
-c,--clean option to manual page.
Bruce Momjian [Fri, 9 Feb 2001 15:22:22 +0000 (15:22 +0000)]
Update TODO list.
Bruce Momjian [Fri, 9 Feb 2001 15:20:54 +0000 (15:20 +0000)]
Update TODO list.
Bruce Momjian [Fri, 9 Feb 2001 15:15:09 +0000 (15:15 +0000)]
Update TODO list.
Bruce Momjian [Fri, 9 Feb 2001 15:13:49 +0000 (15:13 +0000)]
I have deleted the include of termios.h in include/port/qnx4.h.
Then I recompiled pgsql and I have compiled a program with ecpg.
I have removed the termios.h, and the ECHO hack.
Thanks
Maurizio
Hiroshi Inoue [Fri, 9 Feb 2001 06:03:14 +0000 (06:03 +0000)]
Change SELECT to not trigger "BEGIN" in not autocommit mode.
Tom Lane [Fri, 9 Feb 2001 03:26:28 +0000 (03:26 +0000)]
plpgsql's private copy of xlateSqlType was out of sync. Again. This
is clearly not maintainable, so dike it out in favor of calling the real
version in the backend's gram.y.
Tom Lane [Fri, 9 Feb 2001 03:06:38 +0000 (03:06 +0000)]
Document PL/TclU language variant, and do some minor copy-editing.