[HACKERS] Vacuum dead tuples that are "between" transactions

2006-02-27 Thread Paul Tillotson
e the major difficulty here is that currently a transaction has no way of knowing when another backend's command started to run? Is this too difficult to do or is it a good idea that no one has enough 'round tuits for? Regards, Paul Tillotson ---(end of broadcast)--- TIP 6: explain analyze is your friend

[HACKERS] t_ctid chains

2005-08-18 Thread Paul Tillotson
pages and (b) causing the extra complexity such as the bugs mentioned in VACUUM FULL. So: what are the t_ctid chains good for? If this is too long or too elementary to type, can someone point me to the source code that uses t_ctid chains? Regards, Paul Tillotson ---

Re: [HACKERS] [COMMITTERS] pgsql: Fix NUMERIC modulus to properly

2005-06-06 Thread Paul Tillotson
nge the round_var() to a trunc_var() at the end of the function div_var(). It does not pass, but I think that is because the regression test is expecting that division will round up. (Curiously, the regression test for "numeric" passes, but the regression test for aggregation--sum()

Re: [HACKERS] possible TODO: read-only tables, select from indexes

2005-04-23 Thread Paul Tillotson
2. Simple tables can be much smaller since you don't need most of the HeapTupleHeaderData. What you are talking about is not a "read only" table, it is a "non-MVCC" table. This is a much greater assault on the fundamental semantics of Postgres than it's being painted to be in this thr

Re: [HACKERS] Proposal for background vacuum full/cluster

2005-04-21 Thread Paul Tillotson
Jim C. Nasby wrote: On Wed, Apr 20, 2005 at 08:10:23PM -0400, Paul Tillotson wrote: P. S. The last time I thought about it, I decided that the best solution is probably one that works just like vacuum full except that it scans the table in reverse order. It would do something like this

Re: [HACKERS] Proposal for background vacuum full/cluster

2005-04-21 Thread Paul Tillotson
could test the idea without writing any code at all. Regards, Paul Tillotson ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords

2005-04-21 Thread Paul Tillotson
Tom Lane wrote: Paul Tillotson <[EMAIL PROTECTED]> writes: Hm? Using md5 is certainly not any *more* dangerous than any of the other possible password-based methods. Maybe I misunderstood, but I thought that others were saying that, if someone gets the contents of pg_shadow, then

Re: [HACKERS] Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords

2005-04-20 Thread Paul Tillotson
hashes. Perhaps for 8.1 a new authentication method, say, "securemd5," ought to be created in which remedies this deficiency? Regards, Paul Tillotson *Interesting mental exercise: if all that your SQL injection allows is to add conditions to a WHERE clause evaluated as superuser,

Re: [HACKERS] Proposal for background vacuum full/cluster

2005-04-20 Thread Paul Tillotson
Are you thinking of coding this, or just suggesting it for others? I was thinking of coding something like this but found that I didn't understand enough of the internals of how the vacuum command actually works to be able to write this. I'd be willing to devote perhaps a few hours a

[HACKERS] tool for incrementally shrinking bloated tables

2004-12-20 Thread Paul Tillotson
omments? Am I missing some obvious way of accomplishing this goal? Is anyone working on something like this? Paul Tillotson ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] pg_locks view and user locks

2004-09-13 Thread Paul Tillotson
This is the first I have ever heard "user locks," but I have more than once wanted a lock that would persist beyond the end of a transaction. Do these do that? Paul "Merlin Moncure" <[EMAIL PROTECTED]> writes: ... is there any merit to promoting the user lock wrappers out of contrib Dun

Re: [HACKERS] Supporting Encryption in Postgresql

2004-09-09 Thread Paul Tillotson
this be provided by the client and kept in RAM only? Paul Tillotson Murat, For our research project, I need to implement an encryption support for Postgressql. At this current phase, I need to at least support page level encryption In other words, each page that belongs to a certain sensitive

Re: [HACKERS] Usability, MySQL, Postgresql.org, gborg, contrib,

2004-04-27 Thread Paul Tillotson
pport for NULLS, etc. (2) Upon a casual read of the docs I couldn't figure out how to read any values from the database other than what was passed into the pl{perl|python|php} function. I.e., how do you run a select? What client libraries do you use? Maybe the others just need better d

Re: [HACKERS] [pgsql-advocacy] What can we learn from MySQL?

2004-04-27 Thread Paul Tillotson
iming for users who had a clue quotient much lower than I, but those attain an excellent balance between too short and simple to be useful and too long and complicated. Paul Tillotson ---(end of broadcast)--- TIP 1: subscribe and unsubscribe comman

[HACKERS] where can I get the HTML docs

2004-03-23 Thread Paul Tillotson
Can anyone show me where to download a zipped tarball of .html files of what exists at the following link? http://www.postgresql.org/docs/7.4/static/index.html Thanks. Paul ---(end of broadcast)--- TIP 2: you can get off all lists at once with th

Re: [HACKERS] Avoid MVCC using exclusive lock possible?

2004-03-01 Thread Paul Tillotson
7;$old_table';"); exec("UPDATE pg_class SET relfilenode = $table1node WHERE relname = '$new_table';"); You would of course need to change the relfilenode for all of the toasted columns and indexes as well in the same atomic step, but it seems like this might be more compatib