[GENERAL] Damaged table "pg_access"

2000-11-27 Thread Jens Hartwig
Hello all, when I try to access the system-table "pg_class", I get the following error: zeda=# select * from pg_class; NOTICE: get_groname: group 1 not found pqReadData() -- backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or

[GENERAL] Damaged table "pg_access"

2000-11-27 Thread Jens Hartwig
Hello all, when I try to access the system-table "pg_class", I get the following error: zeda=# select * from pg_class; NOTICE: get_groname: group 1 not found pqReadData() -- backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or

Re: [GENERAL] Is this possible or am I on drugs :)

2000-11-27 Thread Tom Lane
shawn everett <[EMAIL PROTECTED]> writes: > The basic select statement for my problem is going to work as follows: > select colA, colB, colA+colB*0.4 as f1, colC, colC+colD*9 as f2 from table > where date=SomeDateEnteredByTheUser; OK, no problem: create view myview as select date, colA, colB, c

Re: [GENERAL] Is this possible or am I on drugs :)

2000-11-27 Thread Tod McQuillin
On Mon, 27 Nov 2000, shawn everett wrote: > select colA, colB, colA+colB*0.4 as f1, colC, colC+colD*9 as f2 from table > where date=SomeDateEnteredByTheUser; CREATE VIEW v1 AS select colA, colB, colA+colB*0.4 as f1, colC, colC+colD*9 as f2, date from table; SELECT colA, colB, f1, colC, f2 FROM

Re: [GENERAL] Is this possible or am I on drugs :)

2000-11-27 Thread shawn everett
> What do you consider "passing a parameter to the view" to be? > This is where Microsoft Access has twisted me :) Access as you may or may not know allows you to use parameters in a query: SELECT * FROM table WHERE table.pkey=[Enter The Primary Key]; The bit in [] represents a prompt to the us

Re: [GENERAL] Is this possible or am I on drugs :)

2000-11-27 Thread Tom Lane
shawn everett <[EMAIL PROTECTED]> writes: > What I'd like to figure out is the best way to handle the say ~30 > calculations I'll need to do to generate the report. I could query the > database and then do the calcuations in code via php, I could do them > using one giant select statement, or I c

[GENERAL] Re: [HACKERS] Indexing for geographic objects?

2000-11-27 Thread selkovjr
Tom Lane wrote: > Do you have any problem with releasing your stuff under the Postgres > distribution terms (BSD license)? No, I don't see any problem with the BSD license, or any other license, for that matter. I just had some reservations about releasing stuff that was far from perfect, and it