Re: [HACKERS] [ADMIN] how to alter sequence.

2002-12-04 Thread Joel Burton
ere is about how to raise the *max* value for the sequence, not how to set the current value higher. The sequence in question was created with a too-low maximum value (see help on CREATE SEQUENCE for options); the user now wants to raise it. - J. -- Joel BURTON | [EMAIL PROTECTED] | joelburton.

Re: [HACKERS] numeric to text (7.3)

2002-12-02 Thread Joel Burton
joel@joel=# select rtrim(rtrim('2.000'::numeric, '0'),'.'); rtrim --- 2 (1 row) joel@joel=# select rtrim(rtrim('2.001'::numeric, '0'),'.'); rtrim --- 2.001 (1 row) Easy enough to make this into a function trim_as_muc

Re: [HACKERS] numeric to text (7.3)

2002-12-02 Thread Joel Burton
ture? :) > > I'd say feature in that it doesn't reduce the precision of the number. ... and, of course, you can round with: joel@joel=# select round('2.000'::numeric); round --- 2 (1 row) joel@joel=# select round('2.000'::numeric,2); round -

Re: [HACKERS] wierd AND condition evaluation for plpgsql

2002-05-30 Thread Joel Burton
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 30, 2002 10:44 AM > To: Joel Burton > Cc: Alessio Bragadini; PostgreSQL Hackers > Subject: Re: [HACKERS] wierd AND condition evaluation for plpgsql > > > "Joel Bu

Re: [HACKERS] wierd AND condition evaluation for plpgsql

2002-05-30 Thread Joel Burton
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Alessio > Bragadini > Sent: Thursday, May 30, 2002 9:04 AM > To: PostgreSQL Hackers > Subject: Re: [HACKERS] wierd AND condition evaluation for plpgsql > > > On Tue, 20

Re: [HACKERS] wierd AND condition evaluation for plpgsql

2002-05-28 Thread Joel Burton
l@joel=# select true and seeme(); NOTICE: seeme ?column? -- t (1 row) In your case, the problem is short-circuiting a test, it's that the full statement must be parsed and prepared, and it's probably in this stage that the illegal use of old. in an insert jumps up. HTH. Joel BUR

Re: [HACKERS] Exposed function to find table in schema search list?

2002-05-24 Thread Joel Burton
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 1:33 PM > To: Joel Burton > Cc: Pgsql-Hackers@Postgresql. Org > Subject: Re: [HACKERS] Exposed function to find table in schema search > list? > > At the moment re

Re: [HACKERS] Exposed function to find table in schema search list?

2002-05-24 Thread Joel Burton
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 19, 2002 6:40 PM > To: Joel Burton > Cc: Joe Conway; Pgsql-Hackers@Postgresql. Org > Subject: Re: [HACKERS] Exposed function to find table in schema search > list? > > > &

[HACKERS] Is 7.3 a good time to increase NAMEDATALEN ?

2002-05-21 Thread Joel Burton
whenever we do this, and 7.3 could be as good a time as any. - J. Joel BURTON | [EMAIL PROTECTED] | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Exposed function to find table in schema search list?

2002-05-19 Thread Joel Burton
> -Original Message- > From: Joe Conway [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 19, 2002 5:25 PM > To: Joel Burton > Cc: Pgsql-Hackers@Postgresql. Org > Subject: Re: [HACKERS] Exposed function to find table in schema search > list? > > > Joel Burton

[HACKERS] Exposed function to find table in schema search list?

2002-05-19 Thread Joel Burton
oid of foo (given current search path) findtable("s.foo") -> oid of s.foo I can write something in plpgsql (iterating over the array, checking each, etc.), however, it would be nice if something was already there. Any ideas? Thanks! - J. Joel BURTON | [EMAIL PROTECTED] | joelburton.com |

[HACKERS] Set-returning function syntax

2002-05-18 Thread Joel Burton
no one has put together docs on this feature, I'll volunteer to write this up. Thanks! - J. -- Joel BURTON | [EMAIL PROTECTED] | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant ---(end of broadcast)--

Re: [HACKERS] Updated CREATE FUNCTION syntax

2002-05-18 Thread Joel Burton
Tom Lane <[EMAIL PROTECTED]> said: > "Joel Burton" <[EMAIL PROTECTED]> writes: > > Given that 98% of my function defining is done is psql, this would be > > fine for me and solve my frustrations. It wouldn't help people that > > build functions

Re: [HACKERS] Updated CREATE FUNCTION syntax

2002-05-18 Thread Joel Burton
defining is done is psql, this would be fine for me and solve my frustrations. It wouldn't help people that build functions in scripting languages or non-psql environments, however, but I don't know how common this is. What do others think? Thanks! -- Joel BURTON | [EMAIL PROTECTED] | joe

Re: [HACKERS] Updated CREATE FUNCTION syntax

2002-05-17 Thread Joel Burton
> -Original Message- > From: Peter Eisentraut [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 9:37 AM > To: Joel Burton > Cc: PostgreSQL Development > Subject: RE: [HACKERS] Updated CREATE FUNCTION syntax > > > Joel Burton writes: > > > Is th

Re: [HACKERS] Updated CREATE FUNCTION syntax

2002-05-16 Thread Joel Burton
ged, I > guess. Is there any standardized way of handling the single-quotes within function definition? Rather than doubling them up (which can make for very messy code when your scripting language uses single quotes!), allowing another symbol to be used, with that symbol be declared in t

Re: [HACKERS] TRUNCATE

2002-05-13 Thread Joel Burton
worried about the security of truncate: the owner is the person who would understand the ramifications of truncate vs. delete. Having it either emit a warning that there were triggers/rules/RI or (better) requiring a FORCE parameter to truncate when there are might make others f

Re: [HACKERS] TRUNCATE

2002-05-12 Thread Joel Burton
> -Original Message- > From: Christopher Kings-Lynne [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 12, 2002 10:17 PM > To: Joel Burton; Tom Lane; Rod Taylor > Cc: Hackers List > Subject: RE: [HACKERS] TRUNCATE > > > > I'm happy w/o the FORCE optio

Re: [HACKERS] TRUNCATE

2002-05-12 Thread Joel Burton
important, though: it's very likely that I might want to let an certain class of user DELETE a record (with all the usual rules/triggers/RI applying), but not let them bypass all that to TRUNCATE. But I still wouldn't want to see hassle-free truncation disappear in the name of security or

Re: [HACKERS] TRUNCATE

2002-05-12 Thread Joel Burton
et TRUNCATE do it), but if enough people think that the FORCE keyword should be added to allow overriding of triggers, that could be a good compromise. But, please, don't take away the ability to TRUNCATE. Doing it when there are triggers is one the strengths of TRUNCATE, IMNSHO. - J.

Re: [HACKERS] FW: Cygwin PostgreSQL Information and Suggestions

2002-05-10 Thread Joel Burton
completely unimportant: most of my work against PG is using shared, persistent connections from a web app (Zope); it could take 20 mins to make the initial connection and I'd still be happy. (Note to hackers: do not implement this 20min connect, though. :) ) - J.

Re: [HACKERS] FW: Cygwin PostgreSQL Information and Suggestions

2002-05-10 Thread Joel Burton
e > exact hardware. Interesting. Does anyone that has mentioned poor performance on cygwin have any numbers to dispute this? > Jason Thanks for the info, and thanks for your work on the PG + cygwin stuff! - J. Joel BURTON | [EMAIL PROTECTED] | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports

2002-05-06 Thread Joel Burton
> -Original Message- > From: Christopher Kings-Lynne [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002 7:36 AM > To: Joel Burton; Tom Lane; mlw > Cc: Marc G. Fournier; [EMAIL PROTECTED] > Subject: Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports > > > &

Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports

2002-05-06 Thread Joel Burton
ot;). So, I'm holding out hope that since this ISP seems unenlightened, one day PostgreSQL will simply run in BSD jails without a cooperating jailmaster, and it sounded like using the APR _might_ make this possible. (All of my other projects use PG; I'd sure love to get this one switch

Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports

2002-05-04 Thread Joel Burton
> "Joel Burton" <[EMAIL PROTECTED]> writes: > >> Rather than propagating the SysV semaphore API still further, why don't > >> we kill it now? (I'm willing to keep the shmem API, however.) > > > Would this have the benefit of allow Pos

Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports

2002-05-04 Thread Joel Burton
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Lane > Sent: Friday, May 03, 2002 6:07 PM > To: mlw > Cc: Marc G. Fournier; [EMAIL PROTECTED] > Subject: Re: [HACKERS] HEADS UP: Win32/OS2/BeOS native ports > > > Rather than propagating the SysV se

[HACKERS] pg_config Makefile includes hyphens in configure arguments

2002-04-29 Thread Joel Burton
gure@,$$configure,g" \ --- > -e "s,@configure@,$(configure_args),g" \ Is there a reason to keep this change if it breaks this feature, or is there an easy way to fix this? (I'm not a serious Makefile user, sorry!) Thanks! Joel BURTON | [EMAIL PROTECTED] | joelburton.

[HACKERS] Bug or misunderstanding w/domains in 7.3devel?

2002-04-18 Thread Joel Burton
erce the value to the correct domain: test=# select * from t2 where f='2'::typ; f --- (0 rows) However, this works: test=# select * from t2 where f='2'::char; f --- 2 (1 row) Is this a bug? Is this correct behavior? Am I misunderstanding this? Thanks!

Re: [HACKERS] initdb dies during IpcSemaphoreCreate under BSD jail

2002-03-26 Thread Joel Burton
> You need to get your provider to set the sysctl jail.sysvipc_allowed to > 1 in the host environment. If they're not willing to do this for you, we > provide this feature on our servers, and also have a shared Postgres > database you can use. My ISP responds to this point: """ >In the thread on

Re: [HACKERS] initdb dies during IpcSemaphoreCreate under BSD jail

2002-03-26 Thread Joel Burton
> -Original Message- > From: Alastair D'Silva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 10:52 PM > To: 'Vince Vielhaber'; 'Joel Burton' > Cc: [EMAIL PROTECTED] > Subject: RE: [HACKERS] initdb dies during IpcSemaphoreCreate

[HACKERS] initdb dies during IpcSemaphoreCreate under BSD jail

2002-03-25 Thread Joel Burton
ges here that anyone knows of? Any hope of getting PG running in our jail? (Or, alternatively, can PG run on the real machine's processes so that the different jails can access it?) Any help would be appreciated! Thanks. Joel BURTON | [EMAIL PROTECTED] | joelburton.com | aim: wjoelbu

Re: [HACKERS] [SQL] CREATE RULE ON UPDATE/DELETE

2001-10-23 Thread Joel Burton
stencies: two "a"s SELECT * FROM raw; The issue is that there are no IDs over 10 that have another ID that is exactly their value, so the first update to "dbl" does nothing. The second time, w/o the ID>10 restriction, it finds 1(a), and double that, 2(b), and adds 10; getting

Re: [HACKERS] Catalogs design question

2001-10-23 Thread Joel Burton
where oid > in grolist"). > I also quote the PotgreSQL user manual > (http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/arrays.html): In the contrib/ directory are procedures to search arrays for values. This may help. -- Joel BURTON | [EMAIL PROTEC

Re: [HACKERS] Is there no "DESCRIBE ;" on PGSQL? help!!!

2001-10-19 Thread Joel Burton
d developer help, or for discussion among the gurus. Please post general questions to pgsql-general or pgsql-novice and re-post to pgsql-hackers only if you get no response w/in a week. HTH, -- Joel BURTON | [EMAIL PROTECTED] | joelburton.com | aim: wjoelburton Independent Knowledge Managem

Re: [HACKERS] Problem in pg_dump 7.1.2 dump order

2001-10-15 Thread Joel Burton
On Wed, 10 Oct 2001, Dmitry Chernikov wrote: > Hello, > > In dump file statement which grants permissions on view exists before > statement which create view. > For tables and sequences permissions dumped in correct order. > > --TOC Entry ID 124 (OID 150248) > GRANT ALL on my_view to group sales;

[HACKERS] RE: LIBPQ on Windows and large Queries

2001-07-26 Thread Joel Burton
ows 2000; recently, works with Windows 98 too. (Can't vouch for WinME, never touched the thing.) www.cygwin.com Can download it as part of the Cygwin package. You'll need to install CygIPC (easily found via google, a simple binary install). Whole thing is pretty much of a snap nowad

[HACKERS] Re: plpgsql: Debug function?

2001-07-25 Thread Joel Burton
On 25 Jul 2001, Turbo Fredriksson wrote: > >>>>> "Joel" == Joel Burton <[EMAIL PROTECTED]> writes: > > Joel> On 25 Jul 2001, Turbo Fredriksson wrote: > >> Is there a way to debug a PL/pgSQL function? It's behaving very >

[HACKERS] Re: plpgsql: Debug function?

2001-07-25 Thread Joel Burton
On 25 Jul 2001, Turbo Fredriksson wrote: > Is there a way to debug a PL/pgSQL function? It's behaving very irradic! It's crude, but you can output debugging statements w/ RAISE NOTICE or catch flawed assumptions by RAISE EXCEPTION. -- Joel Burton <[EMAIL PROTECTED]> Dire

Re: [HACKERS] Re: Metaphone function attachment

2001-05-04 Thread Joel Burton
On Fri, 4 May 2001, Peter Eisentraut wrote: > Joel Burton writes: > > > I think, as little things in contrib/, it's easy for people to miss > > these. With a project page, some discussion, etc. (& a place in contrib/), > > more people would be able to use

[HACKERS] Re: what is the limit for string

2001-05-04 Thread Joel Burton
sual text-type fields. Look at the section on data types in the User's Manual for info. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[HACKERS] Re: help!

2001-05-04 Thread Joel Burton
ot sure how people feel about these kind of notices, though -- so, keep it short, and obviously titled. "help!", for instance, should become "Seeking PostgreSQL DBAs in Toronto, Canada" -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center

[HACKERS] Re: Replication Docs..

2001-05-03 Thread Joel Burton
send me the links. Collaborate w/Justin -- he has information about replication up at techdocs.postgresql.org now. Thanks, -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- T

[HACKERS] Metaphone function

2001-05-03 Thread Joel Burton
memory at all), nor anything terribly strange, but this is my first C function I'm turning loose on the world. If you have a chance, I'd appreciate any feedback/pointers. If it looks good / If I don't hear otherwise, I'll send it out to pgsql-announce and pgsql-general early next

[HACKERS] Re: COPY commands could use an enhancement.

2001-04-30 Thread Joel Burton
ng to use sed/perl/regexes, etc.? If people can point to some best practices/ideas, I'd be happy to turn them into a HOWTO. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)

[HACKERS] Re: COPY commands could use an enhancement.

2001-04-30 Thread Joel Burton
because one of the nice things about not having the field names appear is that I can dump, change the field names, and re-slurp in the old dump. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[GENERAL] Re: [HACKERS] Re: unanswered: Schema Issue

2001-04-26 Thread Joel Burton
tement like "You're trying to change a value in the table "c", using information in table "p", "id", but...") If you don't have this, yes, you can look at in the tgargs, but, given that its a bytea field, it's hard to programmatically dig

[HACKERS] Re: unanswered: Schema Issue

2001-04-26 Thread Joel Burton
On Thu, 26 Apr 2001, V. M. wrote: > ok for serials, now i can extract from psql (\d tablename). > > But i'm not able to extract foreign keys from the schema. Yes you can. Read my tutorial on Referential Integrity in the top section at techdocs.postgresql.org. -- Joel Bu

[HACKERS] Re: Any optimizations to the join code in 7.1?

2001-04-25 Thread Joel Burton
tion in PostgreSQL? If this whole thing were a view, except w/o the WHERE clause, and we were querying the view w/the b.name WHERE clause, would we still see a performance boost from the right arrangement? (ie, does our criteria get pushed down early enough in the joining process?) TIA, -- Jo

[HACKERS] Re: Any optimizations to the join code in 7.1?

2001-04-25 Thread Joel Burton
. Is this actually correct? 2) The explicit-joins help suggests that manual structuring and experimentation might help -- has anyone written (or could anyone write) anthing about where to start in guessing what join order might be optimal? -- Joel Burton <[EMAIL PROTECTED]>

[HACKERS] Re: How to determine if a user exists..

2001-04-23 Thread Joel Burton
er exists in postgresql? (The actuall password verification will be > taken care of elsewhere... I just need to check if the user exists.) pg_user holds users (passwords in pg_shadow) HTH, -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support

[HACKERS] Re: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

2001-04-20 Thread Joel Burton
ts. However, these does not seem to be any way for me to do this from plpgsql, as the functions for manipulating bytea fields aren't very useful for this, an I can't coerce bytea into text or anything like that. Can anyone offer help on this? If I can get into the real args, I'll fix u

Re: [HACKERS] Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

2001-04-19 Thread Joel Burton
Mello's Cookbook, via techdocs.postgresql.org. Anyway, here's hoping that someone fixes the dumping problem (emitting as real constraints would be *much* nicer), but in the meantime, this stuff may be useful. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html

Re: [HACKERS] Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

2001-04-19 Thread Joel Burton
how to disable RI, change an action, etc. It's at http://www.ca.postgresql.org/mhonarc/pgsql-docs/archive/pgsql-docs.200012 -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[HACKERS] Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

2001-04-18 Thread Joel Burton
On Wed, 18 Apr 2001, Tom Lane wrote: > Joel Burton <[EMAIL PROTECTED]> writes: > > tgconstrrelid (in pg_trigger) holds table references in a RI trigger. > > The value in this field is not successfully recreated after a > > dump/restore. > > Yes, this prob

[HACKERS] [BUG?] tgconstrrelid doesn't survive a dump/restore

2001-04-18 Thread Joel Burton
p still referenced from c test1=# delete from p; ERROR: referential integrity violation - key in p still referenced from c The problem is that I've use tools that examine tgconstrrelid to figure reverse engineer which relationships exist. Is this a bug? A

[HACKERS] Re: Truncation of object names

2001-04-13 Thread Joel Burton
iod. I'd like to see it longer -- is there any sane way of doing this with notice, or, as I fear, would it always be a pain, regardless of how much advance notice the world rec'd? Thanks, -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems,

[HACKERS] Re: Truncation of object names

2001-04-13 Thread Joel Burton
d client programs and such need to be modified?) I don't think that my tables are incredibly verbose, autogenerated sequence and index names often push the limit. The problem w/everyone compiling it at a higher number is that it makes it difficult to transparently move a PG database from one s

[HACKERS] Re: HOLD THE PRESSES!! ... pg_dump from v7.0.3 can't import to v7.1?

2001-04-10 Thread Joel Burton
use the command) psql dbname < dumpfile 2>&1 | grep ERROR so that I don't miss any errors among the all the NOTICEs -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)

[HACKERS] Re: RC3 ...

2001-04-07 Thread Joel Burton
ocbook into useful stuff seems to be << than people who can successful compile PG!). It sounds like the separate-tgz for docs and for Postscript makes perfect sense. Just make sure that it's *very* obvious where/how to get these, so that the mailing lists are deluged w/ 'where are the

[HACKERS] Re: plpython for postgres 7.1

2001-04-03 Thread Joel Burton
two- library locations, and that's it. Worth playing with. > I hope we will see it in 7.2 ... Indeed. For the deep gurus: what's the downside of adding PLs to our PG server? (Of course, adding alpha- or beta- quality PLs has clear problems, I mean when this becomes production qual

[HACKERS] Re: Feature Request: ALTER FUNCTION (or something like that)

2001-03-28 Thread Joel Burton
RC, you can change whether a field can be NULL or not by twiddling a field in pg_class. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 3: if posting/readi

[HACKERS] Re: Feature Request: ALTER FUNCTION (or something like that)

2001-03-27 Thread Joel Burton
On Tue, 27 Mar 2001, Tom Lane wrote: > Joel Burton <[EMAIL PROTECTED]> writes: > > . add a command like ALTER FUNCTION foo(text) TO foo(text) returns text as > > > > This is on the TODO list already, I believe. Yikes. I should have read it more carefully. My a

[HACKERS] Feature Request: ALTER FUNCTION (or something like that)

2001-03-27 Thread Joel Burton
s feasible? I could try my rusty hand at C, but I'd need someone to give me a 2-paragraph game plan on where to start playing with the code. Thanks! (of course, this raises the same question for VIEWs... dropping and creating them is a pain b/c of the same reasons...) -- Joel Burton &l

Re: [HACKERS] Potential RC1-stoppers

2001-03-22 Thread Joel Burton
On Thu, 22 Mar 2001, Tom Lane wrote: > Joel Burton <[EMAIL PROTECTED]> writes: > > I rebooted my machine, and it didn't happen again that night. Yesterday, > > my staff reinstalled Pg straight from the CVS but without (!) tarring up > > the old Pg install, so I&#

Re: [HACKERS] Potential RC1-stoppers

2001-03-22 Thread Joel Burton
es of the Zope scripts (very, very simple: they just call the ZSQL method 'select * from zope_facinst limit 1000') Sorry I can't provide much more, and, yes, I know it sucks to have a problem I can't replicate. Err. Computers can be like that. I hope this helps. -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] pg_inherits: not found, but visible [IT GETS WORSE]

2001-03-20 Thread Joel Burton
ells no lies, and nothing appears in lost+found. Thanks, -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] pg_inherits: not found, but visible [IT GETS WORSE]

2001-03-20 Thread Joel Burton
e error is Zope *per se*, since Zope can only talk to the database adapter, and I doubt the database adapter has the intentional feature of delete-the-file-for-this-table in its protocol. It *could* be a problem w/ZPoPy or PoPy; I'll send a message to their list as well. Thanks! -- Joel B

Re: [HACKERS] pg_inherits: not found, but visible

2001-03-20 Thread Joel Burton
On Wed, 21 Mar 2001, Hiroshi Inoue wrote: > Joel Burton wrote: > > > > On Wed, 21 Mar 2001, Hiroshi Inoue wrote: > > > > > Joel Burton wrote: > > > > > > > > Postmaster crashed on me, and on restart, pg_inherits cannot be found. > >

Re: [HACKERS] pg_inherits: not found, but visible

2001-03-20 Thread Joel Burton
On Tue, 20 Mar 2001, Tom Lane wrote: > Joel Burton <[EMAIL PROTECTED]> writes: > >> and I could find a $PGDATA/base/18720/16567 file. > >> Could you find such a file ? > > > No. I do have the db directory, and all of the other file for the existing > >

Re: [HACKERS] pg_inherits: not found, but visible

2001-03-20 Thread Joel Burton
On Wed, 21 Mar 2001, Hiroshi Inoue wrote: > Joel Burton wrote: > > > > Postmaster crashed on me, and on restart, pg_inherits cannot be found. > > I can see it in pg_class (and it shows up w/ \dS), but any attempt to > > modify anything fails with "pg_inh

[HACKERS] pg_inherits: addt'l info

2001-03-20 Thread Joel Burton
I'm sorry, I should have included: PostgreSQL 7.1beta4 Linux-Mandrake 7.1 (very simiiar RedHat 7) Intel hardware -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--

[HACKERS] pg_inherits: not found, but visible

2001-03-20 Thread Joel Burton
(w/error above). What could this be? Is there any hope? Thanks! -- Joel Burton <[EMAIL PROTECTED]> Director of Information Systems, Support Center of Washington ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an

Re: [HACKERS] Re: AW: Re: MySQL and BerkleyDB (fwd)

2001-01-22 Thread Joel Burton
we don't want to open the door to remote access until we have a > two-phase transaction commit mechanism in place. Doing it any other way > is not a 'partial solution', it's a corrupt database waiting to happen. What does '2-phase transaction commit mechanism

[HACKERS] Re: AW: Re: MySQL and BerkleyDB (fwd)

2001-01-22 Thread Joel Burton
thing like that. (do we have any unused punctuation? :-) ) * aliases, so that tblFoo in dbA can be called as ToFoo in dbB * other ways? The second might be easier from a conversion view: the user wouldn't have to understand that this was a 'link', but it might prove complicated when there

Re: [HACKERS] v7.1 beta 1 (ODBC driver?)

2000-12-07 Thread Joel Burton
cher for even more people. Also, I doubt we'd want to impugn the perceived quality of 7.1beta b/c people don't understand that its just the ODBC drivers that out-of-date.) If there's no one official tasked w/this, I'd be happy to submit my compiled version, at http://www.sc

Re: [HACKERS] abstract: fix poor constant folding in 7.0.x, fixed in 7.1?

2000-12-07 Thread Joel Burton
000-12-07 14:27:24-08'::timestamp - '24 hours'::timespan > to: > '2000-12-07 14:27:24-08'::timestamp You mean '2000-12-06', don't you? > Each function should have a marker that explains whether when given a > const input if the output might

[HACKERS] RI tutorial hack reading needed

2000-12-03 Thread Joel Burton
g/advice/additional tips, I'd appreciate it.) It should be in today's pgsql-docs listings. Thanks! Joel Burton [EMAIL PROTECTED]

[HACKERS] RI tutorial needs tech review

2000-12-03 Thread Joel Burton
reciate it.) It should be in today's pgsql-docs listings. -- Joel Burton, Director of Information Systems -*- [EMAIL PROTECTED] Support Center of Washington (www.scw.org)

[HACKERS] Re: [GENERAL] Warning: Don't delete those /tmp/.PGSQL.* files

2000-11-29 Thread Joel Burton
o impossible to even create those, unless you hand tweaked the system tables), but I think was a view-relies-on-a- function-relies-on-a-view kind of problem. If I ever see it again, I'll save it. Thanks! -- Joel Burton, Director of Information Systems -*- [EMAIL PROTECTED] Support Center of Washington (www.scw.org)

Re: [GENERAL] Warning: Don't delete those /tmp/.PGSQL.* files

2000-11-28 Thread Joel Burton
AFAICS. Was the database > still hosed after you stopped both postmasters and started a fresh > one? (Did you even try that?) Yes, I stopped both, rebooted machine, restarted postmaster. Rebooted machine, used just postgres, tried to vacuum, tried to dump, etc. Always the same story. -- Joel Burton, Director of Information Systems -*- [EMAIL PROTECTED] Support Center of Washington (www.scw.org)