summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2003-04-26Add transaction status field to ReadyForQuery messages, and make roomTom Lane
for tableID/columnID in RowDescription. (The latter isn't really implemented yet though --- the backend always sends zeroes, and libpq just throws away the data.)
2003-04-25In the continuing saga of FE/BE protocol revisions, add reporting ofTom Lane
initial values and runtime changes in selected parameters. This gets rid of the need for an initial 'select pg_client_encoding()' query in libpq, bringing us back to one message transmitted in each direction for a standard connection startup. To allow server version to be sent using the same GUC mechanism that handles other parameters, invent the concept of a never-settable GUC parameter: you can 'show server_version' but it's not settable by any GUC input source. Create 'lc_collate' and 'lc_ctype' never-settable parameters so that people can find out these settings without need for pg_controldata. (These side ideas were all discussed some time ago in pgsql-hackers, but not yet implemented.)
2003-04-24Infrastructure for upgraded error reporting mechanism. elog.c isTom Lane
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
2003-04-22Update CVS with new FAQ.Bruce Momjian
2003-04-22More editing of reference pages.Peter Eisentraut
2003-04-22Another round of protocol changes. Backend-to-frontend messages now allTom Lane
have length words. COPY OUT reimplemented per new protocol: it doesn't need \. anymore, thank goodness. COPY BINARY to/from frontend works, at least as far as the backend is concerned --- libpq's PQgetline API is not up to snuff, and will have to be replaced with something that is null-safe. libpq uses message length words for performance improvement (no cycles wasted rescanning long messages), but not yet for error recovery.
2003-04-20Make it clear it is the server version that determines if crlf is used. ↵Bruce Momjian
Idea from Joe Conway.
2003-04-19Add pipe parameter to COPY function to allow proper line termination.Bruce Momjian
2003-04-19Second round of FE/BE protocol changes. Frontend->backend messages nowTom Lane
have length counts, and COPY IN data is packetized into messages.
2003-04-17First phase of FE/BE protocol modifications: new StartupPacket layoutTom Lane
with variable-width fields. No more truncation of long user names. Also, libpq can now send its environment-variable-driven SET commands as part of the startup packet, saving round trips to server.
2003-04-17Make pg_dump's concurency capability more prominent.Bruce Momjian
2003-04-16Various clarifications; add a clear DRAFT marker; minor adjustments inTom Lane
some message types. In particular add text/binary flag to StartCopyIn and StartCopyOut, so that client library can know what is expected or forthcoming.
2003-04-15First draft of revised FE/BE protocol specification. Still needs work,Tom Lane
but I'm putting it up so people can see and comment on it.
2003-04-15Update Japanese FAQ, from Jun Kuwamura.Bruce Momjian
2003-04-15Change names of ISO-8859-x encodings to ISO_8859_x, to match reality.Peter Eisentraut
2003-04-15Bring SQL ref pages to consistent format, part 1.Peter Eisentraut
2003-04-15Add better markup and improve some text here and there.Peter Eisentraut
2003-04-14Another try at correctly explaining the difference between Postgres andTom Lane
SQL92 temp tables. Possibly I got it right this time.
2003-04-14Minor copy-editing.Tom Lane
2003-04-14Clarify description of our deviation from standard for temp tables,Tom Lane
per suggestion from Mike Sykes.
2003-04-13Integrate the operator class section into the comprehensive extending SQLPeter Eisentraut
chapter as well.
2003-04-13A couple of minor fixesPeter Eisentraut
2003-04-11RevisionPeter Eisentraut
2003-04-11RevisionPeter Eisentraut
2003-04-10In an effort to reduce the total number of chapters, combine the smallPeter Eisentraut
chapters on extending types, operators, and aggregates into the extending functions chapter. Move the information on how to call table functions into the queries chapter. Remove some outdated information that is already present in a better form in other parts of the documentation.
2003-04-07General editingPeter Eisentraut
2003-04-06Fix markup.Peter Eisentraut
2003-04-06Clarify exactly when DST-changeover-induced regression test failuresTom Lane
can be expected to occur.
2003-04-04Code review for pg_stat_get_backend_activity_start patch --- fixTom Lane
return type, make protection condition agree with recent change to pg_stat_get_backend_activity, clean up documentation.
2003-04-03Remove zero_damaged_pages from postgresql.conf.sample; the only way toTom Lane
find out about it is to read the documentation that tells you how dangerous it is. Add default_transaction_read_only to documentation; seems to have been overlooked in patch that added read-only transactions. Clean up check_guc comparison script, which has been suffering bit rot.
2003-04-01Update Russian FAQ, from Viktor VislobokovBruce Momjian
2003-03-30Fix broken markup.Tom Lane
2003-03-28Add code to apply some simple sanity checks to the header fields of aTom Lane
page when it's read in, per pghackers discussion around 17-Feb. Add a GUC variable zero_damaged_pages that causes the response to be a WARNING followed by zeroing the page, rather than the normal ERROR; this is per Hiroshi's suggestion that there needs to be a way to get at the data in the rest of the table.
2003-03-28Fix number of columns in SGML, from Weiping HeBruce Momjian
2003-03-27This patch implements holdable cursors, following the proposalBruce Momjian
(materialization into a tuple store) discussed on pgsql-hackers earlier. I've updated the documentation and the regression tests. Notes on the implementation: - I needed to change the tuple store API slightly -- it assumes that it won't be used to hold data across transaction boundaries, so the temp files that it uses for on-disk storage are automatically reclaimed at end-of-transaction. I added a flag to tuplestore_begin_heap() to control this behavior. Is changing the tuple store API in this fashion OK? - in order to store executor results in a tuple store, I added a new CommandDest. This works well for the most part, with one exception: the current DestFunction API doesn't provide enough information to allow the Executor to store results into an arbitrary tuple store (where the particular tuple store to use is chosen by the call site of ExecutorRun). To workaround this, I've temporarily hacked up a solution that works, but is not ideal: since the receiveTuple DestFunction is passed the portal name, we can use that to lookup the Portal data structure for the cursor and then use that to get at the tuple store the Portal is using. This unnecessarily ties the Portal code with the tupleReceiver code, but it works... The proper fix for this is probably to change the DestFunction API -- Tom suggested passing the full QueryDesc to the receiveTuple function. In that case, callers of ExecutorRun could "subclass" QueryDesc to add any additional fields that their particular CommandDest needed to get access to. This approach would work, but I'd like to think about it for a little bit longer before deciding which route to go. In the mean time, the code works fine, so I don't think a fix is urgent. - (semi-related) I added a NO SCROLL keyword to DECLARE CURSOR, and adjusted the behavior of SCROLL in accordance with the discussion on -hackers. - (unrelated) Cleaned up some SGML markup in sql.sgml, copy.sgml Neil Conway
2003-03-27* Make pg_get_triggerdef documentation consistent with other pg_get_Bruce Momjian
functions * Document pg_conversion_is_visible() which was created in one of my previous patches and didn't get documented for some reason Christopher Kings-Lynne
2003-03-27to_char fixes, Karel ZakBruce Momjian
2003-03-25Merge documentation into one book. (Build with "make html".) ReplacePeter Eisentraut
vague cross-references with real links.
2003-03-25I mean, bison 1.875. :-)Bruce Momjian
2003-03-25Mention bison 1.85 is now required.Bruce Momjian
2003-03-25Use PQfreemem() consistently, and document its use for Notify.Bruce Momjian
Keep PQfreeNotify() around for binary compatibility.
2003-03-24Prevent multiple queries in a single string into a single transactionBruce Momjian
when autocommit is off, and document grouping when autocommit is on.
2003-03-24Another big editing pass for consistent content and presentation.Peter Eisentraut
2003-03-23Instead of storing pg_statistic stavalues entries as text strings, storeTom Lane
them as arrays of the internal datatype. This requires treating the stavalues columns as 'anyarray' rather than 'text[]', which is not 100% kosher but seems to work fine for the purposes we need for pg_statistic. Perhaps in the future 'anyarray' will be allowed more generally.
2003-03-22Add PQfreemem() call for Win32.Bruce Momjian
2003-03-21Add hostmask() function:Bruce Momjian
+ <entry><function>hostmask</function>(<type>inet</type>)</entry> + <entry><type>inet</type></entry> + <entry>construct hostmask for network</entry> + <entry><literal>hostmask('192.168.23.20/30')</literal></entry> + <entry><literal>0.0.0.3</literal></entry> Greg Wickham
2003-03-21Remove mention of transactions for insensitive cursors.Bruce Momjian
2003-03-21Reimplement NUMERIC datatype using base-10000 arithmetic; also improveTom Lane
some of the algorithms for higher functions. I see about a factor of ten speedup on the 'numeric' regression test, but it's unlikely that that test is representative of real-world applications. initdb forced due to change of on-disk representation for NUMERIC.
2003-03-20This is not the only place in the system catalogs where NULL isBruce Momjian
effectively used to mean a default value that could also be spelled out explicitly. (ACLs behave that way, and useconfig/datconfig do too IIRC.) It's a bit of a hack, but it saves table space and backend code --- without this convention the default would have to be inserted "manually" since we have no mechanism to supply defaults when C code is forming a new catalog tuple. I'm inclined to leave the code alone. But Alvaro is right that it'd be good to point out the 'infinity' option in the CREATE USER and ALTER USER man pages. (Doc patch please?) Alvaro Herrera
2003-03-20The documentation for SELECT is incorrect in a sense: the syntax for aBruce Momjian
join is defined as: from_item [ NATURAL ] join_type from_item [ ON join_condition | USING ( join_column_list ) ] However, if the join_type is an INNER or OUTER join, an ON, USING, or NATURAL clause *must* be specified (it's not optional, as that segment of the docs suggest). I'm not exactly sure what the best way to fix this is, so I've attached a patch adding a FIXME comment to the relevant section of the SGML. If anyone has any ideas on the proper way to outline join syntax, please speak up. Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC