summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2003-09-12Remove WIN32 console.Bruce Momjian
2003-09-07Update WIN32 branch from CVS HEAD.Bruce Momjian
2003-09-07Update this branch to match CVS head, includes WIN32 improvements.Bruce Momjian
2003-08-14Minor copy-editing.Tom Lane
2003-08-14Fix longstanding thinko in SSL protocol documentation: the server'sTom Lane
initial response is 'S', not 'Y', when it is willing to do SSL.
2003-08-13libpq failed to cope with COPY FROM STDIN if the command was issuedTom Lane
via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute.
2003-08-13Add PQexecPrepared() and PQsendQueryPrepared() functions, to allowTom Lane
libpq users to perform Bind/Execute of previously prepared statements. Per yesterday's discussion, this offers enough performance improvement to justify bending the 'no new features during beta' rule.
2003-08-10Make various links point to specific places instead of entire partsTom Lane
(doubtless these are hangovers from the old separate-books days).
2003-08-10Request verbose error message output in bug reports.Tom Lane
2003-08-09Update docs for 7.4 array features and polymorphic functions.Tom Lane
This is Joe Conway's patch of 7-Aug plus further editorializing of my own.
2003-08-07markup fixesBarry Lind
2003-08-07Noticed broken markup in ecpg.sgml. Attached patch fixes it. PleaseBruce Momjian
apply. Joe Conway
2003-08-06Applied doc patch for the jdbc docs submitted by Nic Ferrier for functionalityBarry Lind
he supplied a few months ago, but didn't get around to docing until now. And he also added some doc for calling stored functions in general from jdbc that was missing. Modified Files: sgml/jdbc.sgml
2003-08-04Add a note that AND and OR are commutative. Apparently, they are not inPeter Eisentraut
certain other products.
2003-08-04Remove --enable-recode feature, since it's been broken by IPv6 changes,Tom Lane
and seems to have too few users to justify maintaining.
2003-08-02Remove docs that say psql \encoding doesn't track SET client_encoding.Bruce Momjian
2003-08-01Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,Peter Eisentraut
rather than parsing the message. Add some documentation about embedded SQL.
2003-08-01--enable-thread-safeness -> --enable-thread-safetyBruce Momjian
2003-08-01Improve description of restoring pg_dumpall backups, per gripe fromTom Lane
Havard Eidnes.
2003-07-31Very minor editing.Tom Lane
2003-07-31Cause library-preload feature to report error if specified initializationTom Lane
function is not found. Also, make all the PL libraries have initialization functions with standard names. Patch from Joe Conway.
2003-07-31contraints -> constraintsBruce Momjian
Rod Taylor
2003-07-31Update Turkish FAQ, Devrim GUNDUZBruce Momjian
2003-07-30Add pretty-printing variants of pg_get_viewdef and related functions.Tom Lane
Patch from Andreas Pflug.
2003-07-29Apply (a somewhat revised version of) Greg Mullane's patch to eliminateTom Lane
heuristic determination of day vs month in date/time input. Add the ability to specify that input is interpreted as yy-mm-dd order (which formerly worked, but only for yy greater than 31). DateStyle's input component now has the preferred spellings DMY, MDY, or YMD; the older keywords European and US are now aliases for the first two of these. Per recent discussions on pgsql-general.
2003-07-28Rename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce.Tom Lane
2003-07-27Move ERRCODE_XXX macros into their own header file.Tom Lane
2003-07-27elog mop-up.Tom Lane
2003-07-27> Joe Conway <mail@joeconway.com> writes:Bruce Momjian
>>ISTM that "source" is worth knowing. > > Hm, possibly. Any other opinions? This version has the seven fields I proposed, including "source". Here's an example that shows why I think it's valuable: regression=# \x Expanded display is on. regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | on context | user vartype | bool source | default min_val | max_val | regression=# update pg_settings set setting = 'off' where name = 'enable_seqscan'; -[ RECORD 1 ]--- set_config | off regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | off context | user vartype | bool source | session min_val | max_val | regression=# alter user postgres set enable_seqscan to 'off'; ALTER USER (log out and then back in again) regression=# \x Expanded display is on. regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | off context | user vartype | bool source | user min_val | max_val | In the first case, enable_seqscan is set to its default value. After setting it to off, it is obvious that the value has been changed for the session only. In the third case, you can see that the value has been set specifically for the user. Joe Conway
2003-07-27here are the patches for psql on Win32:Bruce Momjian
psql4win32.patch - changes in the psql source code psql-ref.patch - changes in the documentation psql-ref.sgml (for new builtin variable WIN32_CONSOLE) To apply them use "patch -p 1" in the root directory of the postgres source directory. These patches fix the following problems of psql on Win32 (all changes only have effect #ifdef WIN32): a) Problem: Static library libpq.a did not work Solution: Added WSAStartup() in fe-connect.c b) Problem: Secret Password was echoed by psql Solution: Password echoing disabled in sprompt.c c) Problem: 8bit characters were displayed/interpreted wrong in psql This is due to the fact that the Win32 "console" uses a different encoding than the rest of the Windows system Solution: Introduced a new psql variable WIN32_CONSOLE When set with "\set WIN32_console", the function OemToChar() is applied after reading input and CharToOem() before displaying Output Christoph Dalitz
2003-07-26At long last I put together a patch to support 4 client SSL negotiationBruce Momjian
modes (and replace the requiressl boolean). The four options were first spelled out by Magnus Hagander <mha@sollentuna.net> on 2000-08-23 in email to pgsql-hackers, archived here: http://archives.postgresql.org/pgsql-hackers/2000-08/msg00639.php My original less-flexible patch and the ensuing thread are archived at: http://dbforums.com/t623845.html Attached is a new patch, including documentation. To sum up, there's a new client parameter "sslmode" and environment variable "PGSSLMODE", with these options: sslmode description ------- ----------- disable Unencrypted non-SSL only allow Negotiate, prefer non-SSL prefer Negotiate, prefer SSL (default) require Require SSL The only change to the server is a new pg_hba.conf line type, "hostnossl", for specifying connections that are not allowed to use SSL (for example, to prevent servers on a local network from accidentally using SSL and wasting cycles). Thus the 3 pg_hba.conf line types are: pg_hba.conf line types ---------------------- host applies to either SSL or regular connections hostssl applies only to SSL connections hostnossl applies only to regular connections These client and server options, the postgresql.conf ssl = false option, and finally the possibility of compiling with no SSL support at all, make quite a range of combinations to test. I threw together a test script to try many of them out. It's in a separate tarball with its config files, a patch to psql so it'll announce SSL connections even in absence of a tty, and the test output. The test is especially informative when run on the same tty the postmaster was started on, so the FATAL: errors during negotiation are interleaved with the psql client output. I saw Tom write that new submissions for 7.4 have to be in before midnight local time, and since I'm on the east coast in the US, this just makes it in before the bell. :) Jon Jensen
2003-07-25Add mention of new SSL capabilities.Bruce Momjian
2003-07-25Error message editing in backend/utils (except /adt).Tom Lane
2003-07-25Begin improving markup of (past) release notes.Peter Eisentraut
2003-07-24Add to 7.3.4 release notes:Bruce Momjian
* Repair breakage in timestamp-to-date conversion for dates before 2000
2003-07-23New WAL fix release text is:Bruce Momjian
Prevent rare possibility of server startup failure (Tom)
2003-07-23Mention increasing sort_mem during a restore.Bruce Momjian
2003-07-23Rename --with-threads to --enable-thread-safeness, per Peter.Bruce Momjian
2003-07-23Update German FAQ.Bruce Momjian
2003-07-23Update FAQ.Bruce Momjian
Ian Barwick
2003-07-23Just a spot of copy-editing.Tom Lane
2003-07-23Update to 7.3.4 as newest release.Bruce Momjian
2003-07-23Stamp 7.3.4.Bruce Momjian
2003-07-22Add GUC parameter to control rendezvous name.Bruce Momjian
2003-07-22Error message editing in backend/libpq, backend/postmaster, backend/tcop.Tom Lane
Along the way, fix some logic problems in pgstat_initstats, notably the bogus assumption that malloc returns zeroed memory.
2003-07-21 I updated Japanese translation of PostgreSQL FAQBruce Momjian
according to your version on May/30. (HTML and TEXT files are gzipped.) Jun Kuwamura
2003-07-20Update URL's.Bruce Momjian
2003-07-18First bits of work on error message editing.Tom Lane
2003-07-18Stephen Robert Norris wrote:Bruce Momjian
> Well, no. What it says is that certain values must be escaped (but > doesn't say which ones). Then it says there are alternate escape > sequences for some values, which it lists. > > It doesn't say "The following table contains the characters which must > be escaped:", which would be much clearer (and actually useful). Attached documentation patch updates the wording for bytea input escaping, per complaint by Stephen Norris above. Joe Conway
2003-07-17Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL conventionTom Lane
for the sign of timezone offsets, ie, positive is east from UTC. These were previously out of step with other operations that accept or show timezones, such as I/O of timestamptz values.