Re: [HACKERS] Coming soon: PG 7.4.4, 7.3.7, 7.2.5

2004-08-12 Thread Mark Kirkwood
The pg_dump fix in 8.0 that stops the destruction of existing users in the target database via DELETE FROM pg_shadow WHERE usesysid (... would be great! regards Mark Tom Lane wrote: Comments anyone? Backpatches for other bugs? ---(end of

Re: [HACKERS] Coming soon: PG 7.4.4, 7.3.7, 7.2.5

2004-08-12 Thread Mark Kirkwood
Sorry - I meant pg_dump*all* rather than pg_dump. Mark Kirkwood wrote: The pg_dump fix in 8.0 that stops the destruction of existing users in the target database via DELETE FROM pg_shadow WHERE usesysid (... would be great! regards Mark Tom Lane wrote: Comments anyone? Backpatches for other

Re: [HACKERS] Regression failure with PostgreSQL 8beta1 and Intel

2004-08-12 Thread Hans-Jürgen Schönig
Robert, Are you planning to use Intel's C compiler in production? We tried that some time ago and corrupted our database cluster almost instantly (for some reason we have not investigated any further). I highly recommend to do some stress testing to see if everything works nicely. I'd be pleased

Re: [HACKERS] [COMMITTERS] pgsql-server: PostgreSQL extension makefile

2004-08-12 Thread Fabien COELHO
Dear Peter, Am Dienstag, 10. August 2004 17:55 schrieb Fabien COELHO: (1) all makefiles in contrib include directly src/Makefile.global which is generated by configure, although it is already included by the src/makefiles/pgxs.mk makefile anyway, so it seems to me that it is

Re: [HACKERS] pg_restore (libpq? parser?) bug in 8

2004-08-12 Thread Andrew Dunstan
Philip Warner said: At 12:15 PM 12/08/2004, Tom Lane wrote: You might need to bite the bullet and implement a flex lexer. I'd like to avoid this if I can; AFAICT, for statement detection on pg_restore, I can require white space before the $tag. Since I also skip over all quoted text, the

Re: [HACKERS] Add Missing From?

2004-08-12 Thread Harald Fuchs
In article [EMAIL PROTECTED], Stephan Szabo [EMAIL PROTECTED] writes: Right, the reason it's important is that there are some things now that are potentially tied together. If you have table A with rows A1,...,An and table B with rows B1,...,Bm and the delete join condition gives the two

Re: [HACKERS] pg_dump and sequences (bug ?)

2004-08-12 Thread strk
With help from Christopher I've made some other tests. Neither 7.4 nor 7.5/8.0 pg_dump are able to detect the error. Here is a summary: The produced dump creates a SEQUENCE SET call with no corresponding SEQUENCE or TABLE SCHEMA creating the sequence. No Error or warning is issued at dump time,

Re: [HACKERS] [ADMIN] Where does the xlateSqlType symbol point

2004-08-12 Thread LISTMAN
Hi Tom, Just re-installed a new version of Postgres 7.3.4 on a *clean* version of Mandrake 9.2, which seemed to work well. The reference to the xlateSqlType symbol is gone from plpgsql.so. All postgres packages installed came from the original Mandrake 9.2 CD. After a little search plpgsql.so

Re: [HACKERS] pg_restore (libpq? parser?) bug in 8

2004-08-12 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: I had a thought that might short-circuit this - do we even need pg_dump to use dollar quoting for non-text output, such as is required by pg_restore? That's a possibility, but I'd rather work around it by finding a way for pg_restore not to need to parse

Re: [HACKERS] Re: We have got a serious problem with pg_clog/WAL synchronization

2004-08-12 Thread Tom Lane
Kenneth Marshall [EMAIL PROTECTED] writes: Would it be possible to use a latch + version number in this case to minimize this problem by allowing all but the checkpoint to perform a read-only action on the latch? How would a read-only action work to block out the checkpoint? More generally,

Re: [HACKERS] Re: We have got a serious problem with pg_clog/WAL synchronization

2004-08-12 Thread Tom Lane
Kenneth Marshall [EMAIL PROTECTED] writes: On Thu, Aug 12, 2004 at 09:58:56AM -0400, Tom Lane wrote: How would a read-only action work to block out the checkpoint? The latch+version number is use by the checkpoint process. The other processes can do a read of the latch to determine if it has

Re: [HACKERS] Regression failure with PostgreSQL 8beta1 and Intel

2004-08-12 Thread Robert E. Bruccoleri
Dear Hans, Robert, Are you planning to use Intel's C compiler in production? We tried that some time ago and corrupted our database cluster almost instantly (for some reason we have not investigated any further). I highly recommend to do some stress testing to see if everything works

Re: [HACKERS] parameter hints to the optimizer

2004-08-12 Thread Bruce Momjian
OK, I added this TODO: * Allow finer control over the caching of prepared query plans Currently, queries prepared via the libpq API are planned on first execute using the supplied parameters --- allow SQL PREPARE to do the same. Also, allow control over replanning prepared queries

Re: [HACKERS] pg_restore (libpq? parser?) bug in 8

2004-08-12 Thread Philip Warner
At 11:42 PM 12/08/2004, Tom Lane wrote: That's a possibility, but I'd rather work around it by finding a way for pg_restore not to need to parse the dollar-quoted literal in the first place. Two possibilities: 1) Parse the tags (I have the code working): it's not that hard, the only trick bit

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and new -T option

2004-08-12 Thread Christopher Kings-Lynne
OK, everything for pg_dump TODO I can think of: pg_dump/pg_dumpall/pg_restore * Add dumping of comments on composite type columns * Add dumping of comments on index columns * Replace crude DELETE FROM way of dumping cleaning of users and groups with separate DROP commands * Add dumping and

[HACKERS] Exception names doc improvement

2004-08-12 Thread Christopher Kings-Lynne
I think we should add another column to this table: http://developer.postgresql.org/docs/postgres/errcodes-appendix.html And explicitly list out all the exception names. I think that would be clearer and easier than having a paragraph they need to read that says 'just use underscores'... Also, I

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Christopher Kings-Lynne
And I forgot to add: * Allow dumping/restoring of any number of specific objects and types Chris Christopher Kings-Lynne wrote: OK, everything for pg_dump TODO I can think of: pg_dump/pg_dumpall/pg_restore * Add dumping of comments on composite type columns * Add dumping of comments on index

Re: [HACKERS] Tablespace issues (comment on ,moving indexes)

2004-08-12 Thread Robert Treat
On Tuesday 10 August 2004 22:13, Christopher Kings-Lynne wrote: What I mean here is that I think it would be in our best interests to define the syntax for any new operation to be as easily guessed as possible. I believe that ALTER INDEX would be more easily guessed by more people as the

Re: [HACKERS] Tablespace issues (comment on ,moving indexes)

2004-08-12 Thread Bruce Momjian
Added to TODO: o Add ALTER INDEX that works just like ALTER TABLE already does on an index --- Robert Treat wrote: On Tuesday 10 August 2004 22:13, Christopher Kings-Lynne wrote: What I mean here is

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and new

2004-08-12 Thread Bruce Momjian
Do you want any of these added to the TODO? --- Christopher Kings-Lynne wrote: And I forgot to add: * Allow dumping/restoring of any number of specific objects and types Chris Christopher Kings-Lynne wrote:

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Christopher Kings-Lynne
Yep, a whole section for pg_dump features and bugs would be nice. Bruce Momjian wrote: Do you want any of these added to the TODO? --- Christopher Kings-Lynne wrote: And I forgot to add: * Allow dumping/restoring of any number

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Andrew Dunstan
Christopher Kings-Lynne wrote: OK, everything for pg_dump TODO I can think of: [snip] * Export to other database (eg. Oracle, MySQL and DB2) formats This strikes me as a can of worms, or to mix metaphors a bit, a rathole from which we might never emerge. I did have a thought the other day -

Re: [HACKERS] DROP TABLESPACE causes panic during recovery

2004-08-12 Thread Bruce Momjian
Did we resolve this? --- Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Maybe we could avoid removing it until the next checkpoint? Or is that not enough. Maybe it could stay there forever :/

Re: [HACKERS] 8.0 beta status

2004-08-12 Thread Bruce Momjian
Where are we on this? --- Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Yeah, those are all bug fixes and okay for post-beta I think. But which two tablespace failures are you thinking of exactly?

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Christopher Kings-Lynne
That should make exporting to other DBs a lot easier. Of course, that could be cutting our own throat too ... It won't make any difference to anything. You can already dump in INSERT format. Being able to export to other dbs will get us _more_ users, not less. Chris

Re: [HACKERS] 8.0 beta status

2004-08-12 Thread Christopher Kings-Lynne
The other tablespace problem is if you drop a tablespace that schema in another db uses, it's broken still I think. Chris Bruce Momjian wrote: Where are we on this? --- Tom Lane wrote: Christopher Kings-Lynne [EMAIL

Re: [HACKERS] DROP TABLESPACE causes panic during recovery

2004-08-12 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Did we resolve this? No, it's an open issue. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Tom Lane
Christopher Kings-Lynne [EMAIL PROTECTED] writes: That should make exporting to other DBs a lot easier. Of course, that could be cutting our own throat too ... It won't make any difference to anything. You can already dump in INSERT format. And anyway, the DDL peculiarities would be the

Re: [HACKERS] [PATCHES] Patch for pg_dump: Multiple -t options and

2004-08-12 Thread Andrew Dunstan
Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: That should make exporting to other DBs a lot easier. Of course, that could be cutting our own throat too ... It won't make any difference to anything. You can already dump in INSERT format. And anyway, the DDL

Re: [HACKERS] 8.0 beta status

2004-08-12 Thread Gavin Sherry
On Fri, 13 Aug 2004, Bruce Momjian wrote: Where are we on this? --- Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Yeah, those are all bug fixes and okay for post-beta I think. But which two

[HACKERS] pg_dump i18n - sk

2004-08-12 Thread Zoltan Bartko
hackers, here's another bunch of message strings translated into sk_SK. Cheers Zoltan pg_dump-sk.po.bz2 Description: BZip2 compressed data ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?