File tree Expand file tree Collapse file tree 3 files changed +21
-71
lines changed Expand file tree Collapse file tree 3 files changed +21
-71
lines changed Original file line number Diff line number Diff line change @@ -495,13 +495,13 @@ begin
495
495
raise debug ' PgBouncer auth request: %' , p_usename;
496
496
497
497
return query
498
- select
499
- rolname::text ,
500
- case when rolvaliduntil < now()
501
- then null
502
- else rolpassword::text
503
- end
504
- from pg_authid
498
+ select
499
+ rolname::text ,
500
+ case when rolvaliduntil < now()
501
+ then null
502
+ else rolpassword::text
503
+ end
504
+ from pg_authid
505
505
where rolname= $1 and rolcanlogin;
506
506
end;
507
507
$_$;
Original file line number Diff line number Diff line change @@ -482,13 +482,13 @@ begin
482
482
raise debug ' PgBouncer auth request: %' , p_usename;
483
483
484
484
return query
485
- select
486
- rolname::text ,
487
- case when rolvaliduntil < now()
488
- then null
489
- else rolpassword::text
490
- end
491
- from pg_authid
485
+ select
486
+ rolname::text ,
487
+ case when rolvaliduntil < now()
488
+ then null
489
+ else rolpassword::text
490
+ end
491
+ from pg_authid
492
492
where rolname= $1 and rolcanlogin;
493
493
end;
494
494
$_$;
@@ -998,53 +998,3 @@ CREATE EVENT TRIGGER pgrst_drop_watch ON sql_drop
998
998
-- PostgreSQL database dump complete
999
999
--
1000
1000
1001
- <<<<<<< HEAD
1002
- =======
1003
-
1004
- --
1005
- -- Dbmate schema migrations
1006
- --
1007
-
1008
- INSERT INTO public .schema_migrations (version) VALUES
1009
- (' 00000000000000' ),
1010
- (' 00000000000001' ),
1011
- (' 00000000000002' ),
1012
- (' 00000000000003' ),
1013
- (' 10000000000000' ),
1014
- (' 20211115181400' ),
1015
- (' 20211118015519' ),
1016
- (' 20211122051245' ),
1017
- (' 20211124212715' ),
1018
- (' 20211130151719' ),
1019
- (' 20220118070449' ),
1020
- (' 20220126121436' ),
1021
- (' 20220224211803' ),
1022
- (' 20220317095840' ),
1023
- (' 20220321174452' ),
1024
- (' 20220322085208' ),
1025
- (' 20220404205710' ),
1026
- (' 20220609081115' ),
1027
- (' 20220613123923' ),
1028
- (' 20220713082019' ),
1029
- (' 20221028101028' ),
1030
- (' 20221103090837' ),
1031
- (' 20221207154255' ),
1032
- (' 20230201083204' ),
1033
- (' 20230224042246' ),
1034
- (' 20230306081037' ),
1035
- (' 20230327032006' ),
1036
- (' 20230529180330' ),
1037
- (' 20231013070755' ),
1038
- (' 20231017062225' ),
1039
- (' 20231020085357' ),
1040
- (' 20231130133139' ),
1041
- (' 20240124080435' ),
1042
- (' 20240606060239' ),
1043
- (' 20241031003909' ),
1044
- (' 20241215003910' ),
1045
- (' 20250205060043' ),
1046
- (' 20250205144616' ),
1047
- (' 20250218031949' ),
1048
- (' 20250220051611' ),
1049
- (' 20250312095419' );
1050
- >>>>>>> 8231e3ec (feat: adjust to only create for pg 15 .x)
Original file line number Diff line number Diff line change @@ -496,13 +496,13 @@ begin
496
496
raise debug ' PgBouncer auth request: %' , p_usename;
497
497
498
498
return query
499
- select
500
- rolname::text ,
501
- case when rolvaliduntil < now()
502
- then null
503
- else rolpassword::text
504
- end
505
- from pg_authid
499
+ select
500
+ rolname::text ,
501
+ case when rolvaliduntil < now()
502
+ then null
503
+ else rolpassword::text
504
+ end
505
+ from pg_authid
506
506
where rolname= $1 and rolcanlogin;
507
507
end;
508
508
$_$;
You can’t perform that action at this time.
0 commit comments