summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2003-05-06Minor editorializing.Tom Lane
2003-05-06Add display of eventual result RowDescription (if any) to the outputTom Lane
of Describe on a prepared statement. This was in the original 3.0 protocol proposal, but I took it out for reasons that seemed good at the time. Put it back per yesterday's pghackers discussion.
2003-05-05Provide a real link to CREATE SEQUENCE's reference page in nextval/setvalTom Lane
discussion.
2003-05-05Extended query protocol: parse, bind, execute, describe FE/BE messages.Tom Lane
Only lightly tested as yet, since libpq doesn't know anything about 'em.
2003-05-04Last round of reference page editing.Peter Eisentraut
2003-05-04When a TIMESTAMP, TIME, or INTERVAL precision is specified larger than ourTom Lane
implementation limits, do not issue an ERROR; instead issue a NOTICE and use the max supported value. Per pgsql-general discussion of 28-Apr, this is needed to allow easy porting from pre-7.3 releases where the limits were higher. Unrelated change in same area: accept GLOBAL TEMP/TEMPORARY as a synonym for TEMPORARY, as per pgsql-hackers discussion of 15-Apr. We previously rejected it, but that was based on a misreading of the spec --- SQL92's GLOBAL temp tables are really closer to what we have than their LOCAL ones.
2003-05-02Portal and memory management infrastructure for extended query protocol.Tom Lane
Both plannable queries and utility commands are now always executed within Portals, which have been revamped so that they can handle the load (they used to be good only for single SELECT queries). Restructure code to push command-completion-tag selection logic out of postgres.c, so that it won't have to be duplicated between simple and extended queries. initdb forced due to addition of a field to Query nodes.
2003-05-01Documentation refers to box() function where it should say box_intersect().Tom Lane
Thanks to Wes Sheldah for finding this one.
2003-04-29Code review for holdable-cursors patch. Fix error recovery, memoryTom Lane
context sloppiness, some other things. Includes Neil's mopup patch of 22-Apr.
2003-04-28Update German FAQ, from Ian BarwickBruce Momjian
2003-04-28Minor wordsmithing on .pgpass description.Tom Lane
2003-04-28Minor improvement in wording.Tom Lane
2003-04-28Okay, I've had it with PQsetdbLogin having slightly different defaultsTom Lane
than PQconnectdb. Reimplement the former to use the same code as the latter. Fix documentation omissions while at it.
2003-04-27Fix plpgsql so that variables of composite types (rowtypes) can beTom Lane
declared without having to write %ROWTYPE. If the declared type of a variable is a composite type, it'll be taken to be a row variable automatically.
2003-04-26Editing of more reference pages.Peter Eisentraut
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