| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
| |
We used to be consistent about this, but my recent patch to add a
restart_after_crash GUC failed to follow the existing convention.
Report and patch from Fujii Masao.
|
|
|
|
| |
Author: Alex Hunsaker
|
|
|
|
| |
backpatched to 8.1
|
|
|
|
| |
from John Gage
|
| |
|
|
|
|
| |
Reviewed by Bernd Helmle.
|
|
|
|
| |
from John Gage
|
|
|
|
|
|
| |
migrations.
Backpatch to 9.0.
|
|
|
|
|
|
|
| |
where the oid is not preserved by pg_upgrade (everything but pg_type).
Update documentation.
Per bug report from depstein@alliedtesting.com.
|
| |
|
|
|
|
| |
by Thom Brown
|
| |
|
|
|
|
|
|
|
|
| |
- Prohibit altering column type
- Prohibit changing inheritance
- Move checks from Exec to Prep phases in ALTER TABLE code
backpatched to 9.0
|
|
|
|
|
|
|
| |
We now use the phrase 'via local socket in' rather than 'on host' in both
\c and \conninfo output, when applicable.
Fujii Masao, with some kibitzing by me.
|
|
|
|
|
|
| |
Backpatch to 8.0.
Andres Freund, with cleanup and adjustment for older branches by me.
|
|
|
|
| |
Fujii Masao
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I've added a quote_all_identifiers GUC which affects the behavior
of the backend, and a --quote-all-identifiers argument to pg_dump
and pg_dumpall which sets the GUC and also affects the quoting done
internally by those applications.
Design by Tom Lane; review by Alex Hunsaker; in response to bug #5488
filed by Hartmut Goebel.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove bespoke code in DoCopy and RI_Initial_Check, which now instead
fabricate call ExecCheckRTPerms with a manufactured RangeTblEntry.
This is intended to make it feasible for an enhanced security provider
to actually make use of ExecutorCheckPerms_hook, but also has the
advantage that RI_Initial_Check can allow use of the fast-path when
column-level but not table-level permissions are present.
KaiGai Kohei. Reviewed (in an earlier version) by Stephen Frost, and by me.
Some further changes to the comments by me.
|
|
|
|
| |
Does modification just of CVS tag text cause an empty CVS diff for the commit?
|
|
|
|
|
|
|
|
| |
directory/symlink before creation.
Report from Tom Lane.
Backpatch to 9.0.
|
|
|
|
|
|
|
|
| |
Per discussion with David Christensen, there can be multiple
instances of PG accessible via local sockets, and you need the port
to see which one you're actually connected to. David's original
patch worked this way, but I inadvertently ripped it out during
commit.
|
|
|
|
| |
David Christensen. Reviewed by Steve Singer. Some further changes by me.
|
|
|
|
| |
Per buildfarm, again.
|
|
|
|
| |
Per buildfarm.
|
|
|
|
|
|
|
|
|
|
|
| |
Normally, we automatically restart after a backend crash, but in some
cases when PostgreSQL is invoked by clusterware it may be desirable to
suppress this behavior, so we provide an option which does this.
Since no existing GUC group quite fits, create a new group called
"error handling options" for this and the previously undocumented GUC
exit_on_error, which is now documented.
Review by Fujii Masao.
|
|
|
|
|
| |
This change should be publicized to driver maintainers at once and
release-noted as an incompatibility with previous releases.
|
|
|
|
| |
per report from Dave Page
|
|
|
|
|
|
|
|
|
| |
path when CSV logging is configured but not yet operational. It's sufficient
to send the message to stderr, as we were already doing, and the "Not safe"
gripe has already confused at least two core members ...
Backpatch to 9.0, but not further --- doesn't seem appropriate to change
this behavior in stable branches.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
any implicit casting previously applied to the targetlist item. This is
reasonable because the implicit cast, by definition, wasn't written by the
user; so we are preserving the expected behavior that ORDER BY items match
textually equivalent tlist items. The case never arose before because there
couldn't be any implicit casting of a top-level SELECT item before we process
ORDER BY etc. But now it can arise in the context of aggregates containing
ORDER BY clauses, since the "targetlist" is the already-casted list of
arguments for the aggregate. The net effect is that the datatype used for
ORDER BY/DISTINCT purposes is the aggregate's declared input type, not that
of the original input column; which is a bit debatable but not horrendous,
and to do otherwise would require major rework that doesn't seem justified.
Per bug #5564 from Daniel Grace. Back-patch to 9.0 where aggregate ORDER BY
was implemented.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This adds a libpq connection parameter requirepeer that specifies the user
name that the server process is expected to run under.
reviewed by KaiGai Kohei
|
|
|
|
| |
so we don't need to re-translate for 9.0.
|
|
|
|
|
|
|
|
|
| |
log files created by the syslogger process.
In passing, make unix_file_permissions display its value in octal, same
as log_file_mode now does.
Martin Pihlak
|
| |
|
|
|
|
|
|
| |
wal_keep_segments does not take effect during recovery.
Fujii Masao
|
|
|
|
|
|
| |
casting between money and numeric.
Andy Balholm, reviewed by Kevin Grittner
|
|
|
|
|
|
|
|
|
|
|
| |
from defining non-self-conflicting constraints.
Jeff Davis
Note: I (tgl) objected to removing this check in 9.0 on the grounds that it
was an important sanity check in new, poorly tested code. However, it should
be all right to remove it for 9.1, since we'll get field testing from the
9.0 branch.
|
|
|
|
|
|
|
| |
The code was probably meant to be this way all along, since the subroutine
CreateOpFamily previously had only one caller. But it wasn't.
KaiGai Kohei
|
| |
|
|
|
|
|
|
|
|
|
| |
to dump a PUBLIC user mapping correctly, as per bug #5560 from Shigeru Hanada.
Use the pg_user_mappings view rather than trying to access pg_user_mapping
directly, so that the code doesn't fail when run by a non-superuser. And
clean up some minor carelessness such as unsafe usage of fmtId().
Back-patch to 8.4 where this code was added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter against server cert's CN field) to succeed in the case where
both host and hostaddr are specified. As with the existing precedents
for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
that host and hostaddr match up --- we just use the host name as given.
Per bug #5559 from Christopher Head.
In passing, make the error handling and messages for the no-host-name-given
failure more consistent among these four cases, and correct a lie in the
documentation: we don't attempt to reverse-lookup host from hostaddr
if host is missing.
Back-patch to 8.4 where SSL cert verification was introduced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than just $N. This brings the display of nestloop-inner-indexscan
plans back to where it's been, and incidentally improves the display of
SubPlan parameters as well. In passing, simplify the EXPLAIN code by
having it deal primarily in the PlanState tree rather than separately
searching Plan and PlanState trees. This is noticeably cleaner for
subplans, and about a wash elsewhere.
One small difference from previous behavior is that EXPLAIN will no longer
qualify local variable references in inner-indexscan plan nodes, since it
no longer sees such nodes as possibly referencing multiple tables. Vars
referenced through PARAM_EXEC Params are still forcibly qualified, though,
so I don't think the display is any more confusing than before. Adjust a
couple of examples in the documentation to match this behavior.
|
|
|
|
| |
because of file access limitations on that platform.
|
| |
|
| |
|
|
|
|
| |
the end.
|