- Sep 29, 2000
-
-
Peter Eisentraut authored
add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
-
Peter Eisentraut authored
either way (although the former is preferred by the Cygwin folks themselves), but using only one seems nicer.
-
Peter Eisentraut authored
-
Hiroshi Inoue authored
Remove compiler waring(my fault).
-
Hiroshi Inoue authored
-
- Sep 27, 2000
-
-
Peter Eisentraut authored
Update the installation instructions (formerly misnamed "FAQ"), add configure checks for some headers rather than having users copy stubs manually (ugh!). Use Autoconf check for exe extension. This also avoids inheriting the value of $(X) from the environment.
-
Peter Eisentraut authored
-
- Sep 26, 2000
-
-
Peter Eisentraut authored
id to the owner of the PK table, to avoid permission problems.
-
- Sep 25, 2000
-
-
Tom Lane authored
omission of alias_clause for a subselect.
-
Tom Lane authored
complaints about ungrouped variables. This is for consistency with behavior elsewhere, notably the fact that the relname is reported as an alias in these same complaints. Also, it'll work with subselect- in-FROM where old code didn't.
-
Tom Lane authored
sublinks when outer query contained aggregates but no GROUP clause.
-
Bruce Momjian authored
- rename ichar() to chr() (discussed with Tom) - add docs for oracle compatible routines: btrim() ascii() chr() repeat() - fix bug with timezone in to_char() - all to_char() variants return NULL instead textin("") if it's needful. The contrib/odbc is without changes and contains same routines as main tree ... because I not sure how plans are Thomas with this :-) Karel --------------------------------------------------------------------------- This effectively one line patch should fix the fact that foreign key definitions in create table were erroring if a primary key was defined. I was using the columns list to get the columns of the table for comparison, but it got reused as a temporary list inside the primary key stuff. Stephan Szabo
-
Tom Lane authored
concurrent modifications to the page by other backends.
-
- Sep 24, 2000
-
-
Tom Lane authored
-
- Sep 22, 2000
-
-
Tom Lane authored
-
- Sep 20, 2000
-
-
Tom Lane authored
-
- Sep 19, 2000
-
-
Tom Lane authored
vacuum.c. This is needed to make the world safe for pg_upgrade.
-
Tom Lane authored
query representation. Note that GEQO_RELS setting is now interpreted as the number of top-level items in the FROM list, not necessarily the number of relations in the query. This seems appropriate since we are only doing join-path searching over the top-level items.
-
Peter Eisentraut authored
There is still no effective difference but it will kick in once setuid functions exist (not included here). Make old getpgusername() alias for current_user.
-
- Sep 18, 2000
-
-
Tom Lane authored
been given an alias. Otherwise, results are incorrect.
-
Tom Lane authored
ie, consider only the columns coming from the JOIN clause's sub-clauses. Also detect attempts to reference columns belonging to other tables (which would still be possible using an explicitly-qualified name). I'm not sure this implements the spec's semantics 100% accurately, but at least it gives plausible behavior.
-
- Sep 17, 2000
-
-
Peter Eisentraut authored
DESTDIR=/else/where' and prepends the value of DESTDIR to the full installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows users to install the package into a location different from the one that was configured and hard-coded into various scripts, e.g., for creating binary packages. DESTDIR is in many cases preferrable over `make install prefix=/else/where' because a) `prefix' affects the path that is hard-coded into the files, which can lead to a `make install prefix=xxx' (as done by the regression test driver) corrupting the files in the source tree with wrong paths. b) it doesn't work at all if a directory was overridden to not depend on `prefix', e.g., --sysconfdir=/etc. (Updating the regression test driver to use DESTDIR is a separate undertaking.) See also autoconf@gnu.org, From: Akim Demaille <akim@epita.fr>, Date: 08 Sep 2000 12:48:59 +0200, Message-ID: <mv4em2vb1lw.fsf@nostromo.lrde.epita.fr>, Subject: Re: HTML format documentation.
-
- Sep 15, 2000
-
-
Tom Lane authored
can still work, per recent discussion on pghackers. Correct some bugs in ILIKE implementation.
-
- Sep 12, 2000
-
-
Tom Lane authored
ends to clean up (see my message of same date to pghackers), but mostly it works. INITDB REQUIRED!
-
Tom Lane authored
relation to a view when you create an ON INSERT/UPDATE/DELETE rule ...
-
Tom Lane authored
-
Tom Lane authored
-
Thomas G. Lockhart authored
This should do better than before around Daylight Savings Time transitions.
-
Bruce Momjian authored
ALTER TABLE <tablename> OWNER TO <username> Only a superuser may execute the command. -- Mark Hollomon mhh@mindspring.com
-
Bruce Momjian authored
for views. Views are now have a "relkind" of RELKIND_VIEW instead of RELKIND_RELATION. Also, views no longer have actual heap storage files. The following changes were made 1. CREATE VIEW sets the new relkind 2. The executor complains if a DELETE or INSERT references a view. 3. DROP RULE complains if an attempt is made to delete a view SELECT rule. 4. CREATE RULE "_RETmytable" AS ON SELECT TO mytable DO INSTEAD ... 1. checks to make sure mytable is empty. 2. sets the relkind to RELKIND_VIEW. 3. deletes the heap storage files. 5. LOCK myview is not allowed. :) 6. the regression test type_sanity was changed to account for the new relkind value. 7. CREATE INDEX ON myview ... is not allowed. 8. VACUUM myview is not allowed. VACUUM automatically skips views when do the entire database. 9. TRUNCATE myview is not allowed. THINGS LEFT TO THINK ABOUT o pg_views o pg_dump o pgsql (\d \dv) o Do we really want to be able to inherit from views? o Is 'DROP TABLE myview' OK? -- Mark Hollomon
-
Bruce Momjian authored
Here is a patch against CVS (without my earlier patch) to disallow LOCK x if x is a view. It does not use the SPI interface. -- Mark Hollomon
-
Bruce Momjian authored
* Disallow LOCK on view src/backend/commands/command.c is the only affected file -- Mark Hollomon
-
Bruce Momjian authored
Here's the multibyte aware version of my patch to fix the truncation of the rulename autogenerated during a CREATE VIEW. I've modified all the places in the backend that want to construct the rulename to use the MakeRetrieveViewRuleName(), where I put the #ifdef MULTIBYTE, so that's the only place that knows how to construct a view rulename. Except pg_dump, where I replicated the code, since it's a standalone binary. The only effect the enduser will see is that views with names len(name) > NAMEDATALEN-4 will fail to be created, if the derived rulename clases with an existing rule: i.e. the user is trying to create two views with long names whose first difference is past NAMEDATALEN-4 (but before NAMEDATALEN: that'll error out after the viewname truncation.) In no case will the user get left with a table without a view rule, as the current code does. Ross Reedstrom
-
- Sep 07, 2000
-
-
Vadim B. Mikheev authored
-
- Sep 06, 2000
-
-
Peter Eisentraut authored
documentation.
-
Peter Eisentraut authored
user is now defined in terms of the user id, the user name is only computed upon request (for display purposes). This is kind of the opposite of the previous state, which would maintain the user name and compute the user id for permission checks. Besides perhaps saving a few cycles (integer vs string), this now creates a single point of attack for changing the user id during a connection, for purposes of "setuid" functions, etc.
-
- Sep 05, 2000
-
-
Jan Wieck authored
quote_ident(text) returns text quote_literal(text) returns text These are handy to build up properly quoted query strings for the new PL/pgSQL EXECUTE functionality to submit dynamic DDL statements. Jan
-
- Aug 31, 2000
-
-
Peter Eisentraut authored
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
-
- Aug 30, 2000
-
-
Tom Lane authored
resources are cleaned up if the user disconnected mid-transaction. Great thanks to Hiroshi for pointing out what should have been obvious...
-
Bruce Momjian authored
-