Assuming it is unix The command
ps xau|grep post
If it is running it will produce output like...
[EMAIL PROTECTED]:~$ ps xau|grep post
postgres 880 0.0 0.2 8580 740 ?SSep07 0:31
/usr/lib/postgresql/bin/postmaster
postgres 887 0.0 0.2 9536 612 ?SSep07 0:
Sandeep Gaikwad wrote:
Hello Sir,
I want to know how to check whether postgres database is
running or not ? when I give command like ./postmaster -i &, whether
all databases in that postgres will run or any one [default] ? If any
one, then how to detect that database ?
Well, in t
In an attempt to throw the authorities off his trail, [EMAIL PROTECTED] ("Sandeep
Gaikwad") transmitted:
> Hello Sir,
> I want to know how to check whether postgres database
> is running or not ? when I give command like ./postmaster -i &,
> whether all databases in that postgres
"Omkar Rath" <[EMAIL PROTECTED]> writes:
> Say there is a stored procedure i.e FUNCTION sp_foo(...) which has say,
> SQL commands (any of SELECT,INSERT,UPDATE,DELETE) in its body, say S1
> followed by S2 then S3 Furthermore, execution of statement S2
> results in trigger functions getting invok
stig erikson <[EMAIL PROTECTED]> writes:
> how can i specify an integer to be one byte byte or even 4 bits long?
> int1, int(1), tinyint are nowhere to be seen.
> smallest i can find is smallint that is 2 bytes.
There's a type called "char" (the double quotes are needed). It's used by
postgres s
Title: Message
I am observing the
following:
Say there is a
stored procedure i.e FUNCTION sp_foo(...) which has say, SQL commands (any
of SELECT,INSERT,UPDATE,DELETE) in its body, say S1 followed by S2 then S3
Furthermore, execution of statement S2 results in trigger functions getting
Hello Sir,
I want to know how to check whether postgres database is
running or not ? when I give command like ./postmaster -i &, whether
all databases in that postgres will run or any one [default] ? If any
one, then how to detect that database ?
Thanks and regards,
Sandeep.
---
how can i specify an integer to be one byte byte or even 4 bits long?
int1, int(1), tinyint are nowhere to be seen.
smallest i can find is smallint that is 2 bytes.
in a table i will have a few columns with values between 0 and 15, so
optimally i am looking for some kind of unsigned 4-bits, or (u
We are porting from Informix to PostgreSQL 7.4.5 and have noticed the
following behavior.
If we try to OPEN a CURSOR for an invalid SELECT statement in ECPG, we
get an error, as expected. However, if we then
attempt to OPEN another CURSOR for a valid statement, we get an error
that says we ar
I found how to use, inside a PL/pgSQL function, a two-dimensions array (matrix).
There is a limitation: the number of the 'columns' of the matrix is fixed at
declaration time (in DECLARE section) and you need to manually initialize all
the elements in the first 'row' of the matrix.
The number of
10 matches
Mail list logo