[HACKERS] Full socket send buffer prevents cancel, timeout

2008-10-25 Thread Michael Fuhr
the client's and the server's socket buffers, then go to sleep without reading the response). -- Michael Fuhr -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Full socket send buffer prevents cancel, timeout

2008-10-25 Thread Michael Fuhr
On Sat, Oct 25, 2008 at 12:36:24PM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: If the write is interrupted by a timeout or cancel, can anything be done here or elsewhere to abort the statement and release its locks? The best thing would really be to kill the client

Re: [HACKERS] DROP DATABASE always seeing database in use

2008-08-04 Thread Michael Fuhr
transactions still open? select * from pg_prepared_xacts; -- Michael Fuhr -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] Bugtraq: Having Fun With PostgreSQL

2007-06-16 Thread Michael Fuhr
/archive/1/471541/30/0/threaded -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] Vacuuming anything zeroes shared table stats

2007-06-07 Thread Michael Fuhr
resets. In case this behavior is platform-dependent I'm testing on Solaris 9 sparc. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's

Re: [HACKERS] [COMMITTERS] pgsql: Avoid losing track of data for shared tables in pgstats.

2007-06-07 Thread Michael Fuhr
: found 8475403 removable, 3907 nonremovable row versions in 76783 pages -- Michael Fuhr ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [HACKERS] [COMMITTERS] pgsql: Avoid losing track of data for shared tables in pgstats.

2007-06-07 Thread Michael Fuhr
. Doesn't appear to, at least not using the test case I found for 8.1 and later. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes

[HACKERS] Vacuuming anything zeroes shared table stats

2007-06-06 Thread Michael Fuhr
|0 |0 | 0 | 0 | 0 pg_toast_1262|0 |0 | 0 | 0 | 0 pg_toast_2396|0 |0 | 0 | 0 | 0 (10 rows) -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] What is the maximum encoding-conversion growth rate, anyway?

2007-05-29 Thread Michael Fuhr
currently support such conversions but it's something to be aware of. -- Michael Fuhr ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [HACKERS] What is the maximum encoding-conversion growth rate, anyway?

2007-05-28 Thread Michael Fuhr
in another supported encoding? Or am I missing something? -- Michael Fuhr ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [HACKERS] Fate of pgsnmpd

2007-04-07 Thread Michael Fuhr
that query the statistics views and I've been thinking about rewriting those scripts to be AgentX subagents so they'd be queryable via SNMP. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire

Re: [HACKERS] sorted results on pgbuildfarm

2007-03-27 Thread Michael Fuhr
On Tue, Mar 27, 2007 at 07:33:08AM -0400, Andrew Dunstan wrote: We can certainly provide a different view, or sort it by system name, What about making the column headers clickable to control the sort order? -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] Bug in UTF8-Validation Code?

2007-03-14 Thread Michael Fuhr
accepts only valid UTF-8 sequences. One way to correct a dumpfile is to run the command iconv -c -f UTF-8 -t UTF-8 -o cleanfile.sql dumpfile.sql. -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

[HACKERS] Race condition in pg_database_size()

2007-03-10 Thread Michael Fuhr
wondering if the code should check for ENOENT if stat() fails and either skip this entry silently under the assumption that the file had been deleted since the call to ReadDir(), or issue a warning without failing. -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] Race condition in pg_database_size()

2007-03-10 Thread Michael Fuhr
On Sat, Mar 10, 2007 at 12:32:04PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I'm wondering if the code should check for ENOENT if stat() fails and either skip this entry silently under the assumption that the file had been deleted since the call to ReadDir(), Probably

Re: [HACKERS] Race condition in pg_database_size()

2007-03-10 Thread Michael Fuhr
On Sat, Mar 10, 2007 at 05:39:37PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I'll submit a patch -- any preferences for silent continuation vs. continuation with a notice or warning? I think silent is fine for ENOENT cases. We know the file had been there at ReadDir

[HACKERS] \copy (query) delimiter syntax error

2007-02-03 Thread Michael Fuhr
*/ opt_using DELIMITERS Sconst What should be fixed -- COPY or \copy? Does psql's \copy still need backward compatibility to unsupported pre-7.3? -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] \copy (query) delimiter syntax error

2007-02-03 Thread Michael Fuhr
tablename does, so it has worked all along. -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

[HACKERS] DROP FUNCTION failure: cache lookup failed for relation X

2007-01-21 Thread Michael Fuhr
. -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] psql display of Unicode combining characters in 8.2

2006-12-27 Thread Michael Fuhr
glyphs, which tells me that I am indeed receiving the decomposed sequences. Thanks! -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so

Re: [HACKERS] Possible documentation error

2006-12-26 Thread Michael Fuhr
= VACUUM foo; VACUUM test= SELECT ctid, x FROM foo; ctid | x +-- (0,1) |1 (4,92) | 1000 (2 rows) test= VACUUM FULL foo; VACUUM test= SELECT ctid, x FROM foo; ctid | x ---+-- (0,1) |1 (0,2) | 1000 (2 rows) -- Michael Fuhr ---(end

Re: [HACKERS] EAN barcode datatype

2006-11-13 Thread Michael Fuhr
is useful for postgresql community? Are you familiar with the contrib/ian module that will be in 8.2? -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL

Re: [HACKERS] estimated_count() implementation

2006-10-21 Thread Michael Fuhr
this a satisfactory answer :-( http://archives.postgresql.org/pgsql-hackers/2005-11/msg00579.php http://archives.postgresql.org/pgsql-hackers/2005-11/msg00580.php -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free

Re: [HACKERS] ECPG connection target formats

2006-09-14 Thread Michael Fuhr
releasing 8.1.5 soon I'm hoping to submit a patch before that happens. -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] Release notes

2006-09-12 Thread Michael Fuhr
On Tue, Sep 12, 2006 at 02:31:22PM -0400, Bruce Momjian wrote: I again will not be able to complete the release notes today as promised. My next target date is Monday, August 18. Sorry. The next Monday, August 18, is in 2008. Surely that'll be enough time ;-) -- Michael Fuhr

Re: [HACKERS] contrib uninstall scripts need some love

2006-09-10 Thread Michael Fuhr
this area needs more attention ... anyone want to work on it? I'll take it. How long do I have? For reference, here are some comments about the cleanup work I did a while back: http://archives.postgresql.org/pgsql-patches/2006-03/msg00163.php -- Michael Fuhr ---(end

Re: [HACKERS] contrib uninstall scripts need some love

2006-09-10 Thread Michael Fuhr
which modules gave you trouble? -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

[HACKERS] contrib/xml2 and PG_MODULE_MAGIC

2006-09-10 Thread Michael Fuhr
contrib/xml2 currently has PG_MODULE_MAGIC in xslt_proc.c, which results in a runtime error on systems that built the module without support for libxslt per the comments in the Makefile. Should PG_MODULE_MAGIC be in xpath.c instead? -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] contrib uninstall scripts need some love

2006-09-10 Thread Michael Fuhr
On Sun, Sep 10, 2006 at 07:38:24PM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I spent a few minutes doing the same tests I did a few months ago and found problems with dblink and ltree; I'll submit patches for those. Tom, do you recall which modules gave you trouble

Re: [HACKERS] ECPG/OpenBSD buildfarm failures, take I

2006-09-06 Thread Michael Fuhr
://www.opengroup.org/online-pubs-short?DOC=9699959299FORM=HTML -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

[HACKERS] ECPG connection target formats

2006-08-26 Thread Michael Fuhr
? Or is there something I'm missing? Other comments? Thanks. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] [PATCHES] plpython improvements

2006-08-18 Thread Michael Fuhr
possibly return NULL, but several occurrences of the above code snippet caught my eye because we had dealt with it before. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose

Re: [HACKERS] Can I assume there's only one _RETURN rule?

2006-08-17 Thread Michael Fuhr
remember. Retrieve-Instead-Retrieve, according to this message from Jan: http://archives.postgresql.org/pgsql-hackers/2003-03/msg01219.php -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

[HACKERS] Custom variable class segmentation fault

2006-08-13 Thread Michael Fuhr
0x0025d80c in SelectConfigFiles (userDoption=0x1 Address 0x1 out of bounds, progname=0x390610 postgres) at guc.c:2867 #4 0x0019a450 in PostmasterMain (argc=5, argv=0x391240) at postmaster.c:602 #5 0x001518c8 in main (argc=5, argv=0x391240) at main.c:187 -- Michael Fuhr ---(end

[HACKERS] pgcrypto deprecated functions?

2006-08-04 Thread Michael Fuhr
In README.pgcrypto, Section 2.3 Deprecated functions says that digest_exists(), hmac_exists(), and cipher_exists() are planned to be removed in PostgreSQL 8.2. Those functions still exist -- should they be removed or does that section need updating? -- Michael Fuhr

Re: [HACKERS] [PATCHES] tg_trigtuple/tg_newtuple settings in AFTER triggers

2006-08-03 Thread Michael Fuhr
On Thu, Aug 03, 2006 at 12:05:23PM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: Set tg_trigtuple/tg_newtuple in AFTER triggers according to whether old and new tuples were supplied rather than blindly setting them according to the event type. Per discussion in pgsql

[HACKERS] pg_dump dumping entire system catalogs

2006-08-01 Thread Michael Fuhr
pg_dump in HEAD is dumping the entire contents of system catalogs. New feature? :-( -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED

[HACKERS] tg_trigtuple not NULL in AFTER STATEMENT triggers?

2006-07-31 Thread Michael Fuhr
? -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] tg_trigtuple not NULL in AFTER STATEMENT triggers?

2006-07-31 Thread Michael Fuhr
On Mon, Jul 31, 2006 at 11:12:14AM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I've noticed that tg_trigtuple and tg_newtuple aren't cleared to NULL in AFTER STATEMENT triggers. Is that an oversight, Probably. Send a patch? Sure. Is the switch in AfterTriggerExecute

Re: [HACKERS] pgxs problem

2006-07-19 Thread Michael Fuhr
nuisance but by being explicit I always know what version I'm using. What are others doing? -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] url for TODO item, is it right?

2006-07-16 Thread Michael Fuhr
/2006-02/msg00165.php But i don't understand why that thread is related to the TODO item, i'm missing something? Possibly the message renumbering that Tom griped about: http://archives.postgresql.org/pgsql-www/2006-07/msg00061.php -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] getting type name

2006-07-09 Thread Michael Fuhr
in utils/builtins.h and defined in src/backend/utils/adt/format_type.c. -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

[HACKERS] cursors, current_user, and SECURITY DEFINER

2006-07-09 Thread Michael Fuhr
reasons for doing it one way or the other? I haven't considered the implications thoroughly enough to have a position either way. -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate

Re: [HACKERS] regresssion script hole

2006-06-18 Thread Michael Fuhr
is for ''kaltenbrunner.cc (two single quotes followed by kaltenbrunner.cc) and the DNS server is responding with SRVFAIL. -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] regresssion script hole

2006-06-18 Thread Michael Fuhr
On Sun, Jun 18, 2006 at 07:18:07PM -0600, Michael Fuhr wrote: Maybe I'm misreading the packet, but I think the query is for ''kaltenbrunner.cc (two single quotes followed by kaltenbrunner.cc) Correction: ''.kaltenbrunner.cc -- Michael Fuhr ---(end of broadcast

[HACKERS] anoncvs still slow

2006-05-27 Thread Michael Fuhr
anoncvs (svr4, 66.98.251.159) is still slow responding to cvs update; it's been spotty for about a week now. Tcpdump shows connections being established but then long delays for ACKs, sometimes long enough for cvs to time out. Any updates on what's going on? -- Michael Fuhr

Re: [HACKERS] Why is CVS server so slow?

2006-05-23 Thread Michael Fuhr
of days -- it just took over five minutes to do a cvs update of HEAD where it usually takes thirty seconds or less. -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

[HACKERS] DH_check return value test correct?

2006-05-12 Thread Michael Fuhr
connection works, but with DH parameters other than intended. -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message

Re: [HACKERS] DH_check return value test correct?

2006-05-12 Thread Michael Fuhr
On Fri, May 12, 2006 at 06:39:44PM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: If $PGDATA/dh1024.pem exists and if SSL connections are enabled, then each SSL connection logs the following: DH_check error (dh1024.pem): No SSL error reported The backend then loads

[HACKERS] Index scans when bitmap scans disabled

2006-04-23 Thread Michael Fuhr
); QUERY PLAN -- Index Scan using foo_pkey, foo_pkey on foo (cost=0.00..6.03 rows=2 width=4) Index Cond: ((id = 1) OR (id = 2)) (2 rows) -- Michael Fuhr

Re: [HACKERS] Index scans when bitmap scans disabled

2006-04-23 Thread Michael Fuhr
. Thanks -- I was just wondering if the behavior was expected or not. -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] How to implement oracle like rownum(function or seudocolumn) ?

2006-04-08 Thread Michael Fuhr
) -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] Postgres dies when using an intarray operator

2006-04-01 Thread Michael Fuhr
WHERE f1.a f2.a; This crashes for me in 8.1.3 on FreeBSD 6.1-PRERELEASE and Solaris 9. An assert-enabled 8.1.3 logs the following: TRAP: BadArgument(!(((header-context) != ((void *)0) (Node*)((header-context)))-type) == T_AllocSetContext, File: mcxt.c, Line: 612) -- Michael Fuhr

Re: [HACKERS] Postgres dies when using an intarray operator

2006-04-01 Thread Michael Fuhr
-- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] Deleting loid from the database

2006-03-05 Thread Michael Fuhr
On Sun, Mar 05, 2006 at 09:54:02PM +0800, Christopher Kings-Lynne wrote: contrib/vacuumlo perhaps? vacuumlo only calls lo_unlink(); the data still exists in pg_largeobject due to MVCC. -- Michael Fuhr ---(end of broadcast)--- TIP 3: Have you

Re: [HACKERS] Uninstall script errors

2006-03-05 Thread Michael Fuhr
DROP TYPE would cascade to the I/O functions but would raise an error if other dependent objects still exist. Comments? Other possibilities? -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire

Re: [HACKERS] ipcclean in 8.1 broken?

2006-03-03 Thread Michael Fuhr
the URL.) Can we assume 'id' is on all unix systems? It's defined in Shell and Utilities (XCU). If the system doesn't have it then one must wonder what else the system is missing. -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget

Re: [HACKERS] ACCESS EXCLUSIVE LOCK

2006-03-03 Thread Michael Fuhr
acquire ACCESS EXCLUSIVE, just that certain commands do. TRUNCATE isn't shown. -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] Deleting loid from the database

2006-03-03 Thread Michael Fuhr
shrinking the file (unless the table has no live tuples, in which case the file size will be zeroed). -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] Uninstall script errors

2006-03-02 Thread Michael Fuhr
On Thu, Mar 02, 2006 at 02:49:13PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: Would it make sense for DROP TYPE to have some kind of limited cascade so you could drop a type and its I/O functions at the same time, but still get an error if other objects depend on the type

Re: [HACKERS] bug in 7.3.2

2006-03-01 Thread Michael Fuhr
. -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] display processing time?

2006-03-01 Thread Michael Fuhr
. -- Michael Fuhr ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

[HACKERS] Uninstall script errors

2006-02-28 Thread Michael Fuhr
never created. I started to work on a patch but I wasn't sure how to handle the chicken-and-egg situation of dropping a type and its I/O functions. Is there any way to do that other than DROP TYPE CASCADE? Should the uninstall scripts be doing that? -- Michael Fuhr

[HACKERS] pg_roles: unrecognized token: :aliasname

2006-02-23 Thread Michael Fuhr
. A newly-initdb'd cluster doesn't have the problem. Was something changed that should have bumped the catalog version? -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose

[HACKERS] PL/pgSQL caught exceptions leak memory?

2006-02-21 Thread Michael Fuhr
). -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] postgresql query string length limit

2006-02-19 Thread Michael Fuhr
). Are you cutting and pasting from one window into another? If so then I wonder if something like the terminal's buffer size is the problem. -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] Updated email signature

2006-02-18 Thread Michael Fuhr
usually on 3C00-3FFF. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] Updated email signature

2006-02-17 Thread Michael Fuhr
On Fri, Feb 17, 2006 at 09:35:32PM -0400, Marc G. Fournier wrote: Sorry, I was still in Junior High in '82 :( Man, you are *old* :) Anybody know some reasonable postgresql.conf settings for a system that starts up with Cass? Memory Size? 'cuz I still have one :-) -- Michael Fuhr

Re: [HACKERS] Want to add to contrib.... xmldbx

2006-01-29 Thread Michael Fuhr
? (Extensions of the elephant.) -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through

[HACKERS] Rollback Mountain

2006-01-25 Thread Michael Fuhr
ecstatic, bitter, and conflicted. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] un-vacuum?

2006-01-19 Thread Michael Fuhr
? What problem are you trying to solve? -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] un-vacuum?

2006-01-19 Thread Michael Fuhr
view. http://www.postgresql.org/docs/8.1/interactive/catalog-pg-statistic.html -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's

Re: [HACKERS] un-vacuum?

2006-01-19 Thread Michael Fuhr
in dire need of vacuuming. 2. Use createdb or CREATE DATABASE to create a new database using the database in (1) as the template. 3. Run tests in the new database. 4. Repeat (2) and (3) as necessary. -- Michael Fuhr ---(end of broadcast)--- TIP 2

Re: [HACKERS] Error working with Temporary Sequences in plpgsql in 8.1 (8.0 works fine)

2006-01-17 Thread Michael Fuhr
functions like nextval() to take a regclass argument (the sequence OID) instead of a text argument (the sequence name); that would affect what gets put in the function's cached plan. -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our

[HACKERS] cvs update taking a long time

2006-01-10 Thread Michael Fuhr
I just ran cvs update in my 8.1 source tree and it took nearly 25 minutes to complete; it usually takes about 30-60 seconds. Is anybody else seeing problems? -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner

Re: [HACKERS] cvs update taking a long time

2006-01-10 Thread Michael Fuhr
On Tue, Jan 10, 2006 at 07:44:23PM -0700, Michael Fuhr wrote: I just ran cvs update in my 8.1 source tree and it took nearly 25 minutes to complete; it usually takes about 30-60 seconds. Is anybody else seeing problems? I forgot to mention that this is anonymous cvs (anoncvs.postgresql.org

Re: [HACKERS] broken 'SHOW TABLE'-like query works in 8, not 8.1.1

2005-12-30 Thread Michael Fuhr
to make. See also System Information Functions and System Catalogs in the documentation. http://www.postgresql.org/docs/8.1/interactive/functions-info.html http://www.postgresql.org/docs/8.1/interactive/catalogs.html -- Michael Fuhr ---(end of broadcast

[HACKERS] Anonymous CVS having problems?

2005-12-30 Thread Michael Fuhr
It's been several hours since Tom's Repair EXPLAIN failure commit but anonymous CVS doesn't have it yet. That seems slower than usual; are there any problems? -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet

Re: [HACKERS] broken 'SHOW TABLE'-like query works in 8, not 8.1.1

2005-12-30 Thread Michael Fuhr
On Fri, Dec 30, 2005 at 11:02:20AM -0700, Michael Fuhr wrote: On Fri, Dec 30, 2005 at 03:15:03AM -0500, Sebastian wrote: Any ideas for a temporary work around? You could try querying the system catalogs directly instead of using the information_schema views; You could also set

Re: [HACKERS] broken 'SHOW TABLE'-like query works in 8, not 8.1.1

2005-12-29 Thread Michael Fuhr
information_schema.element_types; ERROR: record type has not been registered -- Michael Fuhr ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] broken 'SHOW TABLE'-like query works in 8, not 8.1.1

2005-12-29 Thread Michael Fuhr
columns the time continues to increase although not as sharply. I don't see such an increase in 8.0.5. Querying the views individually doesn't take long; I wonder if the planner is doing something wrong with the join operation. -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] where is the output

2005-12-23 Thread Michael Fuhr
data to and reads data from the connection using the API functions for doing so; where the client gets or puts that data is up to the application. -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] where is the output

2005-12-21 Thread Michael Fuhr
; for earlier versions you could probably find a module to generate CSV output. -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] inet to bigint?

2005-12-06 Thread Michael Fuhr
]::numeric * 16777216 + a[2]::numeric * 65536 + a[3]::numeric * 256 + a[4]::numeric; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please

Re: [HACKERS] inet to bigint?

2005-12-06 Thread Michael Fuhr
On Tue, Dec 06, 2005 at 01:05:12AM -0700, Michael Fuhr wrote: CREATE FUNCTION inet2num(inet) RETURNS numeric AS $$ DECLARE a text[] := string_to_array(host($1), '.'); BEGIN RETURN a[1]::numeric * 16777216 + a[2]::numeric * 65536 + a[3]::numeric * 256

Re: [HACKERS] inet to bigint?

2005-12-06 Thread Michael Fuhr
credit you in the MySQL Compat Library code btw) If you're interested, you'd be welcome to join the project btw... I haven't been following it but I might have some time. Is there a TODO list? The one I see on pgfoundry is empty. -- Michael Fuhr ---(end of broadcast

Re: [HACKERS] Oddity with extract microseconds?

2005-12-06 Thread Michael Fuhr
syntax to use near 'FROM '2003-01-02 10:30:00.00123')' at line 1 -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] Oddity with extract microseconds?

2005-12-06 Thread Michael Fuhr
') | +---+ | 1230 | +---+ 1 row in set (0.01 sec) -- Michael Fuhr ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] Oddity with extract microseconds?

2005-12-06 Thread Michael Fuhr
as evidence that PostgreSQL's behavior is correct? :-) -- Michael Fuhr ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] row is too big: size 8916, maximum size 8136

2005-12-06 Thread Michael Fuhr
. With short, non-TOASTed data you'll be able to insert more columns. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do

Re: [HACKERS] Reduce NUMERIC size by 2 bytes, reduce max length to 508

2005-12-05 Thread Michael Fuhr
mention the new upper limit of factorial(). -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through

Re: [HACKERS] inet to bigint?

2005-12-05 Thread Michael Fuhr
])); $$ LANGUAGE plperlu IMMUTABLE STRICT; SELECT inet2num('127.0.0.1'); inet2num 2130706433 (1 row) -- Michael Fuhr ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] Strange interval arithmetic

2005-12-01 Thread Michael Fuhr
(), then check errno. I don't know if any systems are non-compliant in this respect, but Tom said that we've been doing it that way (errno test only) for many years without complaints. -- Michael Fuhr ---(end of broadcast)--- TIP 2: Don't 'kill -9

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
On Sun, Nov 27, 2005 at 11:27:54AM -0700, Michael Fuhr wrote: On Sun, Nov 27, 2005 at 08:45:18AM -0700, Michael Fuhr wrote: Looks like the value is stuck at 2^31 - 1 seconds: I see this behavior back to at least 7.3. I'd guess it's because strtol() indicates overflow by returning LONG_MAX

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
On Wed, Nov 30, 2005 at 12:37:40PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I see this behavior back to at least 7.3. I'd guess it's because strtol() indicates overflow by returning LONG_MAX and setting errno to ERANGE, but the code doesn't check

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
On Wed, Nov 30, 2005 at 02:01:46PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: Any preferences on an approach? The simplest and easiest to verify would be to raise an error for just this particular case; a TODO item might be to change how the string is parsed to allow

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
where PostgreSQL doesn't, so I kept that style. I'll check both if that's preferred. -- Michael Fuhr ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
On Wed, Nov 30, 2005 at 05:20:54PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I'm looking at all the strtol() calls in datetime.c right now; I haven't looked anywhere else yet. Should I bother checking values that will be range checked later anyway? Time zone

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
On Wed, Nov 30, 2005 at 05:23:23PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: I usually check both in my own code but I noticed several places where PostgreSQL doesn't, so I kept that style. I'll check both if that's preferred. I'd say not --- it's more code

Re: [HACKERS] Strange interval arithmetic

2005-11-30 Thread Michael Fuhr
only) for many years without complaints. Adding a test on the return value is venturing into less charted waters. Good, I'll stick with just the ERANGE check then. -- Michael Fuhr ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner

  1   2   3   >