iven the current timing this
is the behavior I'd expect.
regards, tom lane
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://godal.com
+47 40 45 20 46 - Leiv Tronstadsvei 2, NO-7051 Trondheim
---(end of broadcast)---
TIP 7: don't forget t
I have upgraded to 7.3.4 and the problem persists.
Aasmund Midttun Godal writes:
When an operation is done throug a SECURITY DEFINER style function and
causes a trigger the current_user depends on whether it is executed BEFORE
or AFTER. I currently run 7.3.2. I believe the BEFORE behavior is
at_test();
NOTICE: BEFORE Current: godal Session: www
NOTICE: AFTER Current: www Session: www
at_test
---
www/godal
(1 row)
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://godal.com
+47 40 45 20 46 - Leiv Tronstadsvei 2, NO-7051 Trondheim
---(end of broadcast)--
It would be very usefull to have these in sql, so that it is even easier to create
tables with encrypted passwords.
Regards,
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broadcast)---
TIP 4: Don
t; (SELECT scanid, volume as B_volume FROM volumes WHERE region = 'B') bv
> ON scan.scanid = bv.scanid LEFT OUTER JOIN
> (SELECT scanid, volume as C_volume FROM volumes WHERE region = 'C') cv
> ON scan.scanid = cv.scanid
> ORDER BY scanid;
>
net]
>
> ---(end of broadcast)---
> TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
ry like:
prepare('SELECT * FROM errors WHERE ? ~ errorstring');
#Isn't postgres great? reverse regular expression searches :)
my $s = execute($dbh->errstr);
then we exploit perl's ability:
$dbh->errstr =~ /$s->{'errorstring'}/"$s->{'message'}&
er is fired).
>
> What should I do then ? Is it still possible to use the same function
> for UPDATE OR INSERT events ?
>
> TIA
>
> --san;
>
> ---(end of broadcast)---
> TIP 4: Don't '
, but that's about it.
>
> -Josh
>
> __AGLIO DATABASE SOLUTIONS___
>Josh Berkus
> Complete information technology [EMAIL PROTECTED]
>and data management solutions (415) 565-7293
> for law firms, small businesses
That is what i did...
Regards,
Aasmund
On Sat, 20 Oct 2001 23:34:44 -0400 (EDT), Joel Burton <[EMAIL PROTECTED]> wrote:
> On Sun, 21 Oct 2001, Aasmund Midttun Godal wrote:
>
>
>
> Aasmund --
>
> If your problem is that you want to update VIEWs and aren't su
TED]> writes:
>
>
> Surely you'd need something like
>
> CREATE RULE dbl_update AS ON UPDATE TO dbl DO INSTEAD UPDATE raw SET
> id = NEW.id / 2, name = NEW.name WHERE OLD.id = id * 2;
>
> (untested...)
>
> regards, tom lan
TED]> writes:
>
>
> Surely you'd need something like
>
> CREATE RULE dbl_update AS ON UPDATE TO dbl DO INSTEAD UPDATE raw SET
> id = NEW.id / 2, name = NEW.name WHERE OLD.id = id * 2;
>
> (untested...)
>
> regards, tom lan
Josh Berkus
> Complete information technology [EMAIL PROTECTED]
>and data management solutions (415) 565-7293
> for law firms, small businessesfax 621-2533
> and non-profit organizations. San Francisco
>
>
>
Aasmund Midttun Godal
[EMA
| tr
22 | tg
24 | th
25 | tgh
(5 rows)
envisity=# UPDATE bar SET id = id + 10 where id > 10;
UPDATE 0 -- Here it doesn't work.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
fax 621-2533
> and non-profit organizations. San Francisco
>
>
>
>
> ---(end of broadcast)---
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
Aasmund Midttun Godal
[E
t; ---(end of broadcast)-------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
;
The oid column will always be blank. The oid column can never be used for anything
usefull.
There are many workarounds to this problem - and I appreciate that altering this
behaviour might be contradictory to some design philosophy you may have. Just my
comment that's all!
Aasmund Midttu
' on pg_proc), ??
I looked through the todo, and albeit being a lot of new features in the grant section
I cannot find any info regarding these issues.
Sincerely,
Aasmund.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---
there is some sort of SESSION_ID
environment variable.
Some of the uses:
* Store things like personal preferences
* Parameters from a webserver
* Client application name
* etc.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end
DATE test SET value = 1000.0 WHERE epoch = '2000-10-11 12:10:00' AND
> sensor_id = 1;
> UPDATE 0
>
> The insert notice can be shown!
> The update notice is not there!
>
> Why?
>
>
> --
> Mit freundlichen Gruessen / With best regards
>Reine
f"
> psql:edit_procs.sql:144: ERROR: parser: parse error at or near
> "tblemailadd"
> psql:edit_procs.sql:146: ERROR: parser: parse error at or near "return"
> psql:edit_procs.sql:147: ERROR: parser: parse error at or near "if"
> psql:edit_procs
On Sat, 13 Oct 2001 14:17:48 GMT, "Aasmund Midttun Godal" <[EMAIL PROTECTED]>
wrote:
> On Fri, 12 Oct 2001 19:33:46 -0700 (PDT), Stephan Szabo
><[EMAIL PROTECTED]> wrote:
> Well, then another question; will a function be only evaluated once inside a quer
I can't find any docs / mails on this subject.
How can I restrict access to large objects.
1.) Based on users.
2.) Rules/triggers?
Thanx.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broa
I sent with the wrong email first. sorry.
I can't find any docs / mails on this subject.
How can I restrict access to large objects.
1.) Based on users.
2.) Rules/triggers?
Thanx.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
-- End Forw
source...) I would be glad
to know.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
.
Or am I correct to assume that if you need a place to store some text, and you are not
sure how much (like an email address or a name) you are best off using text?
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46
---(end of broa
I sent with the wrong email first. sorry.
I can't find any docs / mails on this subject.
How can I restrict access to large objects.
1.) Based on users.
2.) Rules/triggers?
Thanx.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45
1. Is there a plperlu? ... unsafe version of perl?
2. Is it possible to select which packages the plperl should have access to?
3. What exactly can you and can't you do.
Thank you for your attention.
Aasmund Midttun Godal
[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45
28 matches
Mail list logo