Re: [PATCHES] Small perf fixes/cleanup in src/backend/utils/adt/like.c...

2003-06-23 Thread Sean Chittenden
where we want it to be. cpp is my friend. I get how this was working now: didn't notice the 2nd #include like_match.c earlier and thought all definitions of MatchText and MBMatchText were the same. Tricky with the macro expansion and redefinitions. -sc -- Sean Chittenden

Re: [PATCHES] Patch to be verbose about being unable to read ~/.pgpasss...

2003-06-23 Thread Sean Chittenden
be the default. -sc -- Sean Chittenden ---(end of broadcast)--- TIP 8: explain analyze is your friend

[PATCHES] pg_ping(1) utility...

2003-07-18 Thread Sean Chittenden
template1 ^^ -- Sean Chittenden Index: src/bin/pg_ctl/pg_ctl.sh === RCS file: /home/ncvs/pgsql/pgsql-server/src/bin/pg_ctl/pg_ctl.sh,v retrieving revision 1.32 diff -u

Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

2003-07-30 Thread Sean Chittenden
+ surrounding white space (* 300): PERFORM TRUE FROM [temp_tbl]...; IF NOT FOUND THEN RAISE EXCEPTION ''my error message''; END IF; -- Sean Chittenden ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL

Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

2003-07-30 Thread Sean Chittenden
the name jail_read_only_transactions more... patch updated for new name. -sc -- Sean Chittenden ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])

Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

2003-07-30 Thread Sean Chittenden
in the pg_catalog.pg_shadow.useconfig column. Imagine adding a syntax for every feature that a user could have vs. setting user features via a GUC/MIB system. I'd take the MIB system any day of the week and twice on Friday given the resulting reduction of bloat to gram.y. -sc -- Sean Chittenden

[PATCHES] CVSROOT/modules: earthdistance...

2003-08-06 Thread Sean Chittenden
that the pgsql module doesn't depend on earthdistance? -sc -- Sean Chittenden Index: modules === RCS file: /home/ncvs/pgsql/CVSROOT/modules,v retrieving revision 1.37 diff -u -r1.37 modules --- modules 22 Aug 2002 00:17:58 -

Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

2003-12-01 Thread Sean Chittenden
. Instead of, jail_read_only_transaction=true it'd be security.force_readonly=true or transaction.readonly_always=true. -sc -- Sean Chittenden ---(end of broadcast)--- TIP 6: Have you searched our list archives? http

Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

2003-12-01 Thread Sean Chittenden
attempt at being secure. What in side of the backend do you trust? -sc -- Sean Chittenden ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-20 Thread Sean Chittenden
glad to see you've come around on this given temp structures show up regardless of the temp schema (which is, as you point out, an implementation detail that users need not concern themselves with). Patch/thread: http://archives.postgresql.org/pgsql-general/2003-10/msg00613.php -sc -- Sean

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-21 Thread Sean Chittenden
without using that data to extract more bits from the pg_catalogs. If they know how to go through the catalogs, why do they need \dn to display the temp schemas?). As always, --Sean -- Sean Chittenden ---(end of broadcast)--- TIP 9

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-21 Thread Sean Chittenden
are currently connected to... For the record and if Tom was referring to me, the example I gave was to have \dn show all schemas that you have any permissions for, not that were in the search path. -sc -- Sean Chittenden ---(end of broadcast)--- TIP 2

[PATCHES] Checking for USAGE on SET search_path...

2004-04-08 Thread Sean Chittenden
, completion_squery-namespace); -- Sean Chittenden ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])

Re: [PATCHES] SECURITY DEFINER not being propagated...

2004-04-29 Thread Sean Chittenden
(), + ACL_CREATE); if (aclresult != ACLCHECK_OK) aclcheck_error(aclresult, ACL_KIND_NAMESPACE, get_namespace_name(namespaceId)); -- Sean Chittenden ---(end

[PATCHES] New function: area(PATH)...

2004-05-17 Thread Sean Chittenden
); -- Sean Chittenden ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

[PATCHES] More network functions...

2004-05-18 Thread Sean Chittenden
: %s(%s), -- Sean Chittenden ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] More network functions...

2004-05-18 Thread Sean Chittenden
(MyDatabaseId, GetUserId(), ACL_CREATE_TEMP) != ACLCHECK_OK) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), -- Sean Chittenden ---(end of broadcast

[PATCHES] .cvsignore update...

2004-05-26 Thread Sean Chittenden
:32 2004 @@ -0,0 +1 @@ +libpq.so.3.2 --- /dev/null Wed May 26 13:09:20 2004 +++ src/port/.cvsignore Wed May 26 13:10:07 2004 @@ -0,0 +1 @@ +pg_config_paths.h --- /dev/null Wed May 26 13:10:46 2004 +++ src/timezone/.cvsignore Wed May 26 13:10:49 2004 @@ -0,0 +1 @@ +zic -- Sean Chittenden

[PATCHES] Small doc patch for area() function...

2004-05-27 Thread Sean Chittenden
)] | (6,6) == -- Sean Chittenden ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

[PATCHES] pg_ctl -o option dumps core when processing postmaster arguments...

2004-08-01 Thread Sean Chittenden
by isspace() */ /* postmaster version ident string */ #define PM_VERSIONSTR postmaster (PostgreSQL) PG_VERSION \n -- Sean Chittenden ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] Casting INT4 to BOOL...

2004-10-10 Thread Sean Chittenden
and you can do such weirdness (brokeness?) as: bool val = false; if (val == 0) { /* blah */ } Anyway, with Qt, it converts bool values to integers. I think Qt's probably right on this front in that the value 1 should be considered true and 0 should be considered false. My $0.02. -sc -- Sean

Re: [PATCHES] Casting INT4 to BOOL...

2004-10-11 Thread Sean Chittenden
whether the result -- Sean Chittenden ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list

Re: [PATCHES] Slightly better testing for pg_ctl(1)'s -w...

2004-10-11 Thread Sean Chittenden
out of time to find a better way to do this. Were you hinting at extending libpq(3) to having the backend send the errcode to the frontend? -sc -- Sean Chittenden ---(end of broadcast)--- TIP 6: Have you searched our list archives

Re: [PATCHES] Slightly better testing for pg_ctl(1)'s -w...

2004-10-11 Thread Sean Chittenden
) add getting the raw errcode as an 8.1 TODO item? In the mean time, are you going to commit the pg_ctl patch? -sc -- Sean Chittenden ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs

Re: [PATCHES] Casting INT4 to BOOL...

2004-10-11 Thread Sean Chittenden
). System catalog bumps have been coming through with some degree of regularity so I wasn't worried about providing the patch to bump the catalog date. -sc -- Sean Chittenden ---(end of broadcast)--- TIP 7: don't forget to increase your free space map

Re: [PATCHES] Casting INT4 to BOOL...

2004-10-12 Thread Sean Chittenden
boolean: \%s\, b))); - - /* not reached */ - PG_RETURN_BOOL(false); + PG_RETURN_BOOL(true); } /* -- Sean Chittenden ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister

[PATCHES] Quieting the copyright/startup message...

2004-10-04 Thread Sean Chittenden
); if (options.action_string) /* -f - was used */ -- Sean Chittenden ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[PATCHES] [FIX] Fix for pgxs on darwin and other platforms...

2004-12-16 Thread Sean Chittenden
) -lpostgres DLLINIT = $(top_builddir)/src/utils/dllinit.o AROPT = crs -- Sean Chittenden ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] [FIX] Fix for pgxs on darwin and other platforms...

2004-12-16 Thread Sean Chittenden
. :( -sc -- Sean Chittenden ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster