Commits

Show all
Author Commit Message Labels Comments Date
Andrew Dunstan
working populate_record
Andrew Dunstan
populate_record skeleton - needs semantic actions to build has table
Andrew Dunstan
json_each_as_text
Andrew Dunstan
json_get_path_as_text
Andrew Dunstan
additional test
Andrew Dunstan
json_unnest
Andrew Dunstan
json_each and json_get_path
Andrew Dunstan
json_array_length
Andrew Dunstan
pgindent changed files
Andrew Dunstan
passes regression
Andrew Dunstan
fix header comments
Andrew Dunstan
first cut
Heikki Linnakangas
Fix recycling of WAL segments after switching timeline during recovery. This was broken before, we would recycle old WAL segments on wrong timeline after the recovery target timeline had changed, but my recent commit to not initialize ThisTimeLineID at all in a standby's checkpointer process broke this completely. The problem is that when installing a recycled WAL segment as a future one, ThisTimeLineID is used to construct the filename. To fix, always update ThisTim…
Bruce Momjian
Avoid using NAMEDATALEN in pg_upgrade Because the client encoding might not match the server encoding, pg_upgrade can't allocate NAMEDATALEN bytes for storage of database, relation, and namespace identifiers. Instead pg_strdup() the memory and free it. Also add C comment in initdb.c about safe NAMEDATALEN usage.
Heikki Linnakangas
Follow TLI of last replayed record, not recovery target TLI, in walsenders. Most of the time, the last replayed record comes from the recovery target timeline, but there is a corner case where it makes a difference. When the startup process scans for a new timeline, and decides to change recovery target timeline, there is a window where the recovery target TLI has already been bumped, but there are no WAL segments from the new timeline in pg_xlog yet. For example, if we h…
Heikki Linnakangas
Don't set ThisTimeLineID in checkpointer & bgwriter during recovery. We used to set it to the current recovery target timeline, but the recovery target timeline can change during recovery, leaving ThisTimeLineID at an old value. That seems worse than always leaving it at zero to begin with. AFAICS there was no good reason to set it in the first place. ThisTimeLineID is not needed in checkpointer or bgwriter process, until it's time to write the end-of-recovery che…
Bruce Momjian
Add pg_upgrade comment about mismatch error Add comment stating that constraint and index names must match.
Heikki Linnakangas
Check if we've reached end-of-backup point also if no redo is required. If you restored from a backup taken from a standby, and the last record in the backup is the checkpoint record, ie. there is no redo required except for the checkpoint record, we would fail to notice that we've reached the end-of-backup point, and the database is consistent. The result was an error "WAL ends before end of online backup". To fix, move the have-we-reached-end-of-backup check into Ch…
Peter Eisentraut
Rename SQL feature S403 to ARRAY_MAX_CARDINALITY In an earlier version of the standard, this was called just "MAX_CARDINALITY".
Peter Eisentraut
pg_basebackup: Small message punctuation improvements
Andrew Dunstan
Don't include postgres.h in postgres_fe.h for cpluspluscheck. Error exposed by recent Assert changes. Complaint from Peter Eisentraut.
Tom Lane
Ignore libedit/libreadline while probing for standard functions. Some versions of libedit expose bogus definitions of setproctitle(), optreset, and perhaps other symbols that we don't want configure to pick up on. There was a previous report of similar problems with strlcpy(), which we addressed in commit 59cf88da91bc88978b05275ebd94ac2d980c4047, but the problem has evidently grown in scope since then. In hopes of not having to deal with it again in future, r…
Peter Eisentraut
Remove allow_nonpic_in_shlib This was used in a time when a shared libperl or libpython was difficult to come by. That is obsolete, and the idea behind the flag was never fully portable anyway and will likely fail on more modern CPU architectures.
Peter Eisentraut
doc: Put PL/pgSQL RAISE USING keywords into a list Karl O. Pinc
Tom Lane
Fix failure to ignore leftover temp tables after a server crash. During crash recovery, we remove disk files belonging to temporary tables, but the system catalog entries for such tables are intentionally not cleaned up right away. Instead, the first backend that uses a temp schema is expected to clean out any leftover objects therein. This approach requires that we be careful to ignore leftover temp tables (since any actual access attempt would fail), *even …
Tom Lane
Fix filling of postmaster.pid in bootstrap/standalone mode. We failed to ever fill the sixth line (LISTEN_ADDR), which caused the attempt to fill the seventh line (SHMEM_KEY) to fail, so that the shared memory key never got added to the file in standalone mode. This has been broken since we added more content to our lock files in 9.1. To fix, tweak the logic in CreateLockFile to add an empty LISTEN_ADDR line in standalone mode. This is a tad grotty, but…
Andrew Dunstan
Tidy up from frontend Assert change. Quiet compiler warnings noted by Peter Eisentraut.
Magnus Hagander
Properly copy fmgroids.h after clean on Win32 Craig Ringer
Peter Eisentraut
doc: Remove extra table column Not all system catalog description tables have the same number of columns, and the patch to add oid columns did one bit too much copy-and-pasting.
Peter Eisentraut
doc: Add oid columns to system catalog documentation Karl O. Pinc and Jeff Davis
  1. Prev
  2. Next