- 11 4月, 2012 1 次提交
-
-
由 Peter Eisentraut 提交于
Only match when WITH is the first word, as WITH may appear in many other contexts. Josh Kupershmidt
-
- 07 4月, 2012 1 次提交
-
-
由 Tom Lane 提交于
ANALYZE now accepts foreign tables and allows the table's FDW to control how the sample rows are collected. (But only manual ANALYZEs will touch foreign tables, for the moment, since among other things it's not very clear how to handle remote permissions checks in an auto-analyze.) contrib/file_fdw is extended to support this. Etsuro Fujita, reviewed by Shigeru Hanada, some further tweaking by me.
-
- 31 3月, 2012 1 次提交
-
-
由 Tom Lane 提交于
Over-optimization (by me, looks like :-() broke the case of recognizing a word boundary just before a quoted identifier. Reported and diagnosed by Dean Rasheed.
-
- 28 2月, 2012 1 次提交
-
-
由 Alvaro Herrera 提交于
psql backslash commands that deal with file or directory names require quotes around those that have spaces, single quotes, or backslashes. However, tab-completing such names does not provide said quotes, and is thus almost useless with them. This patch fixes the problem by having a wrapper function around rl_filename_completion_function that dequotes on input and quotes on output. This eases dealing with such names. Author: Noah Misch
-
- 02 2月, 2012 1 次提交
-
-
由 Peter Eisentraut 提交于
Instead of always completing SQL key words in upper case, look at the word being completed and match the case. reviewed by Fujii Masao
-
- 01 2月, 2012 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 22 1月, 2012 1 次提交
-
-
由 Peter Eisentraut 提交于
Previously, only GRANT/REVOKE privilege was supported. reviewed by Pavel Stehule
-
- 02 1月, 2012 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 28 12月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
Always compare the return value to 0, don't use cute tricks like if (!strcmp(...)).
-
- 20 12月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
This adds support for the more or less SQL-conforming USAGE privilege on types and domains. The intent is to be able restrict which users can create dependencies on types, which restricts the way in which owners can alter types. reviewed by Yeb Havinga
-
- 24 10月, 2011 2 次提交
-
-
由 Magnus Hagander 提交于
Not just tables, since views also work fine with the TABLE command.
-
由 Tom Lane 提交于
Andreas Karlsson, reviewed by Josh Kupershmidt
-
- 21 10月, 2011 1 次提交
-
-
由 Tom Lane 提交于
Make it return empty strings when there are no more words to the left of the current position, instead of sometimes returning NULL and other times returning copies of the leftmost word. Also, fetch the words in one scan, rather than the previous wasteful approach of starting from scratch for each word. Make the code a bit harder to break when someone decides we need more words of context, too. (There was actually a memory leak here, because whoever added prev6_wd neglected to free it.)
-
- 06 7月, 2011 1 次提交
-
-
由 Robert Haas 提交于
\ir is short for "include relative"; when used from a script, the supplied pathname will be interpreted relative to the input file, rather than to the current working directory. Gurjeet Singh, reviewed by Josh Kupershmidt, with substantial further cleanup by me.
-
- 15 6月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
This matches what \d actually accepts.
-
- 12 6月, 2011 1 次提交
-
-
由 Robert Haas 提交于
These pertain to object types introduced in PostgreSQL 9.1, so back-patch. Josh Kupershmidt, with some kibitzing by me.
-
- 14 5月, 2011 1 次提交
-
-
由 Robert Haas 提交于
This commit fixes psql, pg_dump, and the information schema to be consistent with the backend changes which I made as part of commit be90032e, and also includes a related documentation tweak. Shigeru Hanada, with slight adjustment.
-
- 10 4月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 02 4月, 2011 1 次提交
-
-
由 Robert Haas 提交于
-
- 17 3月, 2011 1 次提交
-
-
由 Robert Haas 提交于
Pavel Stehule
-
- 12 3月, 2011 1 次提交
-
-
由 Tom Lane 提交于
Use collencoding = -1 to represent such a collation in pg_collation. We need this to make the "default" entry work sanely, and a later patch will fix the C/POSIX entries to be represented this way instead of duplicating them across all encodings. All lookup operations now search first for an entry that's database-encoding-specific, and then for the same name with collencoding = -1. Also some incidental code cleanup in collationcmds.c and pg_collation.c.
-
- 03 3月, 2011 1 次提交
-
-
由 Heikki Linnakangas 提交于
Andrey Popp
-
- 24 2月, 2011 2 次提交
-
-
由 Itagaki Takahiro 提交于
- ALTER FOREIGN DATA WRAPPER with HANDLER - ALTER TABLE VALIDATE CONSTRAINT - ALTER TYPE ADD VALUE - COPY with ENCODING and FORCE NOT NULL - CREATE FOREIGN DATA WRAPPER with HANDLER - CREATE TRIGGER ... INSTEAD OF
-
由 Itagaki Takahiro 提交于
and fix unexpected completion for DROP TEMP and UNIQUE.
-
- 15 2月, 2011 1 次提交
-
-
由 Tom Lane 提交于
The original design of pg_available_extensions did not consider the possibility of version-specific control files. Split it into two views: pg_available_extensions shows information that is generic about an extension, while pg_available_extension_versions shows all available versions together with information that could be version-dependent. Also, add an SRF pg_extension_update_paths() to assist in checking that a collection of update scripts provide sane update path sequences.
-
- 12 2月, 2011 3 次提交
-
-
由 Peter Eisentraut 提交于
- collowner field - CREATE COLLATION - ALTER COLLATION - DROP COLLATION - COMMENT ON COLLATION - integration with extensions - pg_dump support for the above - dependency management - psql tab completion - psql \dO command
-
由 Tom Lane 提交于
This follows recent discussions, so it's quite a bit different from Dimitri's original. There will probably be more changes once we get a bit of experience with it, but let's get it in and start playing with it. This is still just core code. I'll start converting contrib modules shortly. Dimitri Fontaine and Tom Lane
-
由 Robert Haas 提交于
Christoph Berg
-
- 11 2月, 2011 1 次提交
-
-
由 Tom Lane 提交于
Per discussion, this is something we should have sooner rather than later, and it doesn't take much additional code to support it.
-
- 09 2月, 2011 1 次提交
-
-
由 Tom Lane 提交于
This patch adds the server infrastructure to support extensions. There is still one significant loose end, namely how to make it play nice with pg_upgrade, so I am not yet committing the changes that would make all the contrib modules depend on this feature. In passing, fix a disturbingly large amount of breakage in AlterObjectNamespace() and callers. Dimitri Fontaine, reviewed by Anssi Kääriäinen, Itagaki Takahiro, Tom Lane, and numerous others
-
- 20 1月, 2011 1 次提交
-
-
由 Robert Haas 提交于
Original patch by Fernando Ike, revived by Josh Kuperschmidt, reviewed by Andreas Karlsson, and in earlier versions by Tom Lane and Peter Eisentraut.
-
- 04 1月, 2011 1 次提交
-
-
由 Itagaki Takahiro 提交于
Missing support for VALID UNTIL in CREATE ROLE is also added.
-
- 02 1月, 2011 2 次提交
-
-
由 Robert Haas 提交于
Foreign tables are a core component of SQL/MED. This commit does not provide a working SQL/MED infrastructure, because foreign tables cannot yet be queried. Support for foreign table scans will need to be added in a future patch. However, this patch creates the necessary system catalog structure, syntax support, and support for ancillary operations such as COMMENT and SECURITY LABEL. Shigeru Hanada, heavily revised by Robert Haas
-
由 Bruce Momjian 提交于
-
- 14 12月, 2010 1 次提交
-
-
由 Robert Haas 提交于
Allow INSERT INTO, UPDATE, and DELETE FROM to be completed with either the name of a table (as before) or the name of a view with an appropriate INSTEAD OF rule. Along the way, allow CREATE TRIGGER to be completed with INSTEAD OF, as well as BEFORE and AFTER. David Fetter, reviewed by Itagaki Takahiro
-
- 27 11月, 2010 1 次提交
-
-
由 Robert Haas 提交于
This adds support for changing the schema of a conversion, operator, operator class, operator family, text search configuration, text search dictionary, text search parser, or text search template. Dimitri Fontaine, with assorted corrections and other kibitzing.
-
- 29 10月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
Josh Kupershmidt
-
- 11 10月, 2010 1 次提交
-
-
由 Tom Lane 提交于
Completion is supported in the context of \set and when interpolating a variable value using :foo etc. In passing, fix some places in tab-complete.c that weren't following project style for comment formatting. Pavel Stehule, reviewed by Itagaki Takahiro
-
- 28 9月, 2010 1 次提交
-
-
由 Robert Haas 提交于
This is intended as infrastructure to support integration with label-based mandatory access control systems such as SE-Linux. Further changes (mostly hooks) will be needed, but this is a big chunk of it. KaiGai Kohei and Robert Haas
-
- 26 9月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
Like with tables, this also requires allowing the existence of composite types with zero attributes. reviewed by KaiGai Kohei
-