Re: [DOCS] type casting reference?

2005-06-17 Thread Michael Glaesemann
On Jun 13, 2005, at 4:39 AM, stig erikson wrote: hi. i need to cast from timestamp to seconds (in the form of integer). i have a table with a column: expiretime timestamp i have tried the following, it gives errors as below: SELECT expiretime::float4 AS timeleft FROM table WHERE something='

Re: [DOCS] type casting reference? SOLVED

2005-06-17 Thread stig erikson
stig erikson wrote: hi. i need to cast from timestamp to seconds (in the form of integer). i have a table with a column: expiretime timestamp i have tried the following, it gives errors as below: SELECT expiretime::float4 AS timeleft FROM table WHERE something='1234'; ERROR: cannot cast type t

[DOCS] type casting reference?

2005-06-17 Thread stig erikson
hi. i need to cast from timestamp to seconds (in the form of integer). i have a table with a column: expiretime timestamp i have tried the following, it gives errors as below: SELECT expiretime::float4 AS timeleft FROM table WHERE something='1234'; ERROR: cannot cast type timestamp without time

Re: [DOCS] NetBSD kernel resource configuration

2005-06-17 Thread Bruce Momjian
Oh, thanks. Fixed in 8.0.X. --- Kris Jurka wrote: > > > On Fri, 17 Jun 2005, Bruce Momjian wrote: > > > Kris Jurka wrote: > > > > > > The documentation describing NetBSD kernel configuration mentions that it > > > uses

Re: [DOCS] NetBSD kernel resource configuration

2005-06-17 Thread Kris Jurka
On Fri, 17 Jun 2005, Bruce Momjian wrote: > Kris Jurka wrote: > > > > The documentation describing NetBSD kernel configuration mentions that it > > uses the "option" keyword like OpenBSD, but in fact it uses the "options" > > keyword like FreeBSD. > > > > Fix applied. Thanks. This problem

Re: [DOCS] NetBSD kernel resource configuration

2005-06-17 Thread Bruce Momjian
Kris Jurka wrote: > > The documentation describing NetBSD kernel configuration mentions that it > uses the "option" keyword like OpenBSD, but in fact it uses the "options" > keyword like FreeBSD. > > http://developer.postgresql.org/docs/postgres/kernel-resources.html#SYSVIPC > > http://cvsweb.

[DOCS] NetBSD kernel resource configuration

2005-06-17 Thread Kris Jurka
The documentation describing NetBSD kernel configuration mentions that it uses the "option" keyword like OpenBSD, but in fact it uses the "options" keyword like FreeBSD. http://developer.postgresql.org/docs/postgres/kernel-resources.html#SYSVIPC http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch